#1D2951 Color
#1D2951 is rgb(29, 41, 81) in RGB, hsl(226, 47%, 22%) in HSL, and about cmyk(64%, 49%, 0%, 68%) in CMYK. The closest CSS named color is MidnightBlue (#191970). White text is the more readable choice on this background.
#1D2951rgb(29, 41, 81)hsl(226, 47%, 22%)hsv(226, 64%, 32%)cmyk(64%, 49%, 0%, 68%)oklch(29.3% 0.074 268.9)lab(17.28% 5.84 -26.60)lch(17.28% 27.23 282.39)#1D2951 Channel Values
How #1D2951 breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.
| Model | Channels | Notes |
|---|---|---|
| RGB | R 29 · G 41 · B 81 | 8-bit channels as sent to the display |
| HSL | H 226° · S 47% · L 22% | Easiest model for building lighter and darker variants |
| HSV | H 226° · S 64% · V 32% | Matches the picker in most design tools |
| CMYK | C 64% · M 49% · Y 0% · K 68% | Approximate ink mix; confirm with an ICC profile before printing |
| Luminance | 14.11:1 vs white · 1.49:1 vs black | WCAG 2.2 relative-luminance contrast ratios |
Text Contrast & Accessibility
WCAG 2.2 contrast ratios for text on a #1D2951 background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.
Need a specific ratio against another background? Open #1D2951 in the contrast checker.
Colors That Go With #1D2951
Pairings derived from color-wheel relationships. The complementary color sits opposite #1D2951; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.
Tints & Shades of #1D2951
Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.
Want a full 50-950 ramp with semantic roles? Generate design tokens from #1D2951.
How #1D2951 Looks with Color Vision Deficiency
Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.
#1D2951#272751#232851#252551#222751#0F3030#152D40#2B2B2BUsing #1D2951 in Code
Copy-ready declarations for the places this color usually ends up.
--color-1d2951: #1D2951;background-color: #1D2951;colors: { 'color-1d2951': '#1D2951' }Color(red: 0.114, green: 0.161, blue: 0.318)<color name="color_1d2951">#1D2951</color>fill="#1D2951"#1D2951 Frequently Asked Questions
What is the RGB value of #1D2951?
#1D2951 is rgb(29, 41, 81) — red 29, green 41, and blue 81 on the 0-255 scale.
What is the CMYK value of #1D2951?
#1D2951 converts to approximately cmyk(64%, 49%, 0%, 68%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.
Should text on #1D2951 be black or white?
White text is the more readable choice. #1D2951 scores 14.11:1 against white and 1.49:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.
Does #1D2951 have a color name?
#1D2951 is not one of the 140 CSS named colors. The closest named color is MidnightBlue (#191970), at a CIE76 distance of 31.6, so the two are clearly different.
Open #1D2951 in a Tool
#1D2951 sits in the blue family — browse every shade of blue with hex codes, or return to the full color library.