#1B2F4F#1B2F4F
#1B2F4F is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.6% C 0.064 H 259.4°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2F4F |
|---|---|
| RGB | rgb(27, 47, 79) |
| HSL | hsl(217, 49%, 21%) |
| HSV | hsv(217, 66%, 31%) |
| CMYK | cmyk(65.8%, 40.5%, 0%, 69%) |
| CIE-LAB | lab(19.35, 3.49, -22.08) |
| CIE-LCH | lch(19.35, 22.35, 278.99°) |
| OKLab | oklab(30.57% -0.0117 -0.0626) |
| OKLCH | oklch(30.57% 0.064 259.4) |
| XYZ | xyz(2.8793, 2.8303, 7.7902) |
| Luminance | 0.0283 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.17
Marine
#042E60
ΔE00 4.19
Marine Blue
#01386A
ΔE00 5.94
Dark
#1B2431
ΔE00 8.22
Navy (survey)
#01153E
ΔE00 8.59
Twilight Blue
#0A437A
ΔE00 8.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2F4F #4F3B1B
analogous
#1B494F #1B2F4F #211B4F
triadic
#1B2F4F #4F1B2F #2F4F1B
tetradic
#1B2F4F #4F1B49 #4F3B1B #1B4F21
square
#1B2F4F #4F1B49 #4F3B1B #1B4F21
split-complementary
#1B2F4F #4F211B #494F1B
monochromatic
#080E17 #0B1421 #1B2F4F #2B4A7D #3A65AA
Accessibility & contrast
On white
13.41
#1B2F4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#1B2F4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2F4F
13.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2F4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2F4F | 1.00 | 13.41 | 1.57 | 13.41 |
| #FFFFFF | 13.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#213250
Deuteranopia (green-blind)
#1B2D4E
Tritanopia (blue-blind)
#00363B
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1b2f4f; /* rgb */ color: rgb(27, 47, 79); /* oklch */ color: oklch(30.6% 0.064 259.4);
Tailwind
colors: {
custom: {
50: '#5d6780',
500: '#1b2f4f',
950: '#000000',
},
}SCSS
$custom: #1b2f4f; $custom-light: #5d6780; $custom-dark: #000000;
JSON
{
"hex": "#1b2f4f",
"rgb": {
"r": 27,
"g": 47,
"b": 79
},
"hsl": {
"h": 216.923,
"s": 49.057,
"l": 20.784
},
"oklch": {
"l": 0.30573,
"c": 0.06366,
"h": 259.4
},
"luminance": 0.02831
}Semantic roles & 50–950 ramp
primary
#1B2F4F
secondary
#856B41
accent
#A44FD9
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C