#1F2F6E#1F2F6E
#1F2F6E is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.2% C 0.111 H 268.8°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2F6E |
|---|---|
| RGB | rgb(31, 47, 110) |
| HSL | hsl(228, 56%, 28%) |
| HSV | hsv(228, 72%, 43%) |
| CMYK | cmyk(71.8%, 57.3%, 0%, 56.9%) |
| CIE-LAB | lab(21.76, 16.70, -38.61) |
| CIE-LCH | lch(21.76, 42.06, 293.39°) |
| OKLab | oklab(33.18% -0.0022 -0.111) |
| OKLCH | oklch(33.18% 0.111 268.8) |
| XYZ | xyz(4.3951, 3.4497, 15.1831) |
| Luminance | 0.0345 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.39
Marine Blue
#01386A
ΔE00 6.32
Navy Blue
#1B2A4A
ΔE00 6.89
Midnight Blue
#191970
ΔE00 7.25
Darkish Blue
#014182
ΔE00 7.90
Darkslateblue
#483D8B
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2F6E #6E5E1F
analogous
#1F566E #1F2F6E #361F6E
triadic
#1F2F6E #6E1F2F #2F6E1F
tetradic
#1F2F6E #6E1F56 #6E5E1F #1F6E36
square
#1F2F6E #6E1F56 #6E5E1F #1F6E36
split-complementary
#1F2F6E #6E361F #566E1F
monochromatic
#070A18 #121B3E #1F2F6E #2C439E #3F5BC9
Accessibility & contrast
On white
12.43
#1F2F6E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#1F2F6E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2F6E
12.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2F6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2F6E | 1.00 | 12.43 | 1.69 | 12.43 |
| #FFFFFF | 12.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003870
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1f2f6e; /* rgb */ color: rgb(31, 47, 110); /* oklch */ color: oklch(33.2% 0.111 268.8);
Tailwind
colors: {
custom: {
50: '#666798',
500: '#1f2f6e',
950: '#000000',
},
}SCSS
$custom: #1f2f6e; $custom-light: #666798; $custom-dark: #000000;
JSON
{
"hex": "#1f2f6e",
"rgb": {
"r": 31,
"g": 47,
"b": 110
},
"hsl": {
"h": 227.848,
"s": 56.028,
"l": 27.647
},
"oklch": {
"l": 0.33179,
"c": 0.11107,
"h": 268.8
},
"luminance": 0.0345
}Semantic roles & 50–950 ramp
primary
#1F2F6E
secondary
#A29047
accent
#C148DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E