#1F2E6A#1F2E6A
#1F2E6A is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.6% C 0.106 H 269.2°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2E6A |
|---|---|
| RGB | rgb(31, 46, 106) |
| HSL | hsl(228, 55%, 27%) |
| HSV | hsv(228, 71%, 42%) |
| CMYK | cmyk(70.8%, 56.6%, 0%, 58.4%) |
| CIE-LAB | lab(21.15, 15.82, -37.01) |
| CIE-LCH | lch(21.15, 40.25, 293.15°) |
| OKLab | oklab(32.62% -0.0016 -0.1064) |
| OKLCH | oklch(32.62% 0.106 269.2) |
| XYZ | xyz(4.1427, 3.2855, 14.0487) |
| Luminance | 0.0329 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.22
Navy Blue
#1B2A4A
ΔE00 6.33
Marine Blue
#01386A
ΔE00 6.48
Midnight Blue
#191970
ΔE00 7.29
Darkish Blue
#014182
ΔE00 8.32
Darkslateblue
#483D8B
ΔE00 8.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2E6A #6A5B1F
analogous
#1F546A #1F2E6A #361F6A
triadic
#1F2E6A #6A1F2E #2E6A1F
tetradic
#1F2E6A #6A1F54 #6A5B1F #1F6A36
square
#1F2E6A #6A1F54 #6A5B1F #1F6A36
split-complementary
#1F2E6A #6A361F #546A1F
monochromatic
#070A18 #11193B #1F2E6A #2D4399 #3D59C6
Accessibility & contrast
On white
12.67
#1F2E6A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#1F2E6A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2E6A
12.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2E6A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2E6A | 1.00 | 12.67 | 1.66 | 12.67 |
| #FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#04366C
Deuteranopia (green-blind)
#003069
Tritanopia (blue-blind)
#003C47
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1f2e6a; /* rgb */ color: rgb(31, 46, 106); /* oklch */ color: oklch(32.6% 0.106 269.2);
Tailwind
colors: {
custom: {
50: '#656695',
500: '#1f2e6a',
950: '#000000',
},
}SCSS
$custom: #1f2e6a; $custom-light: #656695; $custom-dark: #000000;
JSON
{
"hex": "#1f2e6a",
"rgb": {
"r": 31,
"g": 46,
"b": 106
},
"hsl": {
"h": 228,
"s": 54.745,
"l": 26.863
},
"oklch": {
"l": 0.3262,
"c": 0.10637,
"h": 269.2
},
"luminance": 0.03286
}Semantic roles & 50–950 ramp
primary
#1F2E6A
secondary
#9E8D47
accent
#C04ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E