#1B2F5F#1B2F5F
#1B2F5F is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.7% C 0.089 H 264.8°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2F5F |
|---|---|
| RGB | rgb(27, 47, 95) |
| HSL | hsl(222, 56%, 24%) |
| HSV | hsv(222, 72%, 37%) |
| CMYK | cmyk(71.6%, 50.5%, 0%, 62.7%) |
| CIE-LAB | lab(20.41, 9.94, -31.03) |
| CIE-LCH | lch(20.41, 32.59, 287.76°) |
| OKLab | oklab(31.73% -0.0081 -0.0889) |
| OKLCH | oklch(31.73% 0.089 264.8) |
| XYZ | xyz(3.5333, 3.0919, 11.2348) |
| Luminance | 0.0309 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.75
Navy Blue
#1B2A4A
ΔE00 4.28
Marine Blue
#01386A
ΔE00 5.36
Darkish Blue
#014182
ΔE00 8.07
Twilight Blue
#0A437A
ΔE00 8.28
Navy (survey)
#01153E
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2F5F #5F4B1B
analogous
#1B515F #1B2F5F #291B5F
triadic
#1B2F5F #5F1B2F #2F5F1B
tetradic
#1B2F5F #5F1B51 #5F4B1B #1B5F29
square
#1B2F5F #5F1B51 #5F4B1B #1B5F29
split-complementary
#1B2F5F #5F291B #515F1B
monochromatic
#070C18 #0D172F #1B2F5F #29478F #365EBE
Accessibility & contrast
On white
12.98
#1B2F5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#1B2F5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2F5F
12.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2F5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2F5F | 1.00 | 12.98 | 1.62 | 12.98 |
| #FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#163461
Deuteranopia (green-blind)
#082E5E
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1b2f5f; /* rgb */ color: rgb(27, 47, 95); /* oklch */ color: oklch(31.7% 0.089 264.8);
Tailwind
colors: {
custom: {
50: '#60678d',
500: '#1b2f5f',
950: '#000000',
},
}SCSS
$custom: #1b2f5f; $custom-light: #60678d; $custom-dark: #000000;
JSON
{
"hex": "#1b2f5f",
"rgb": {
"r": 27,
"g": 47,
"b": 95
},
"hsl": {
"h": 222.353,
"s": 55.738,
"l": 23.922
},
"oklch": {
"l": 0.31731,
"c": 0.08923,
"h": 264.8
},
"luminance": 0.03092
}Semantic roles & 50–950 ramp
primary
#1B2F5F
secondary
#957C41
accent
#B349DF
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D