#1F2D6E#1F2D6E
#1F2D6E is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.114 H 269.8°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2D6E |
|---|---|
| RGB | rgb(31, 45, 110) |
| HSL | hsl(229, 56%, 28%) |
| HSV | hsv(229, 72%, 43%) |
| CMYK | cmyk(71.8%, 59.1%, 0%, 56.9%) |
| CIE-LAB | lab(21.18, 18.12, -39.54) |
| CIE-LCH | lch(21.18, 43.50, 294.62°) |
| OKLab | oklab(32.74% -0.0004 -0.1138) |
| OKLCH | oklch(32.74% 0.114 269.8) |
| XYZ | xyz(4.3170, 3.2935, 15.1570) |
| Luminance | 0.0329 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.82
Midnight Blue
#191970
ΔE00 6.52
Marine Blue
#01386A
ΔE00 6.95
Navy Blue
#1B2A4A
ΔE00 7.09
Darkslateblue
#483D8B
ΔE00 8.19
Darkish Blue
#014182
ΔE00 8.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2D6E #6E601F
analogous
#1F546E #1F2D6E #381F6E
triadic
#1F2D6E #6E1F2D #2D6E1F
tetradic
#1F2D6E #6E1F54 #6E601F #1F6E38
square
#1F2D6E #6E1F54 #6E601F #1F6E38
split-complementary
#1F2D6E #6E381F #546E1F
monochromatic
#070A18 #12193E #1F2D6E #2C419E #3F57C9
Accessibility & contrast
On white
12.66
#1F2D6E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#1F2D6E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2D6E
12.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2D6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2D6E | 1.00 | 12.66 | 1.66 | 12.66 |
| #FFFFFF | 12.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003770
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1f2d6e; /* rgb */ color: rgb(31, 45, 110); /* oklch */ color: oklch(32.7% 0.114 269.8);
Tailwind
colors: {
custom: {
50: '#666598',
500: '#1f2d6e',
950: '#000000',
},
}SCSS
$custom: #1f2d6e; $custom-light: #666598; $custom-dark: #000000;
JSON
{
"hex": "#1f2d6e",
"rgb": {
"r": 31,
"g": 45,
"b": 110
},
"hsl": {
"h": 229.367,
"s": 56.028,
"l": 27.647
},
"oklch": {
"l": 0.32744,
"c": 0.11384,
"h": 269.8
},
"luminance": 0.03294
}Semantic roles & 50–950 ramp
primary
#1F2D6E
secondary
#A29247
accent
#C548DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E