#1B314A#1B314A
#1B314A is a dark, muted cyan. Relative luminance 0.029; OKLCH L 30.8% C 0.053 H 252.7°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).
Color values
| HEX | #1B314A |
|---|---|
| RGB | rgb(27, 49, 74) |
| HSL | hsl(212, 47%, 20%) |
| HSV | hsv(212, 64%, 29%) |
| CMYK | cmyk(63.5%, 33.8%, 0%, 71%) |
| CIE-LAB | lab(19.74, 0.13, -18.10) |
| CIE-LCH | lch(19.74, 18.10, 270.40°) |
| OKLab | oklab(30.78% -0.0159 -0.051) |
| OKLCH | oklch(30.78% 0.053 252.7) |
| XYZ | xyz(2.7859, 2.9238, 6.8948) |
| Luminance | 0.0292 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 4.92
Marine
#042E60
ΔE00 5.70
Dark Blue Grey
#1F3B4D
ΔE00 6.10
Marine Blue
#01386A
ΔE00 6.29
Dark
#1B2431
ΔE00 6.43
Dark Grey Blue
#29465B
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B314A #4A341B
analogous
#1B494A #1B314A #1D1B4A
triadic
#1B314A #4A1B31 #314A1B
tetradic
#1B314A #4A1B49 #4A341B #1B4A1D
square
#1B314A #4A1B49 #4A341B #1B4A1D
split-complementary
#1B314A #4A1D1B #494A1B
monochromatic
#080F16 #0B131D #1B314A #2B4F77 #3C6CA4
Accessibility & contrast
On white
13.25
#1B314A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#1B314A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B314A
13.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B314A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B314A | 1.00 | 13.25 | 1.58 | 13.25 |
| #FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27324B
Deuteranopia (green-blind)
#212E49
Tritanopia (blue-blind)
#00373A
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1b314a; /* rgb */ color: rgb(27, 49, 74); /* oklch */ color: oklch(30.8% 0.053 252.7);
Tailwind
colors: {
custom: {
50: '#5c687c',
500: '#1b314a',
950: '#000000',
},
}SCSS
$custom: #1b314a; $custom-light: #5c687c; $custom-dark: #000000;
JSON
{
"hex": "#1b314a",
"rgb": {
"r": 27,
"g": 49,
"b": 74
},
"hsl": {
"h": 211.915,
"s": 46.535,
"l": 19.804
},
"oklch": {
"l": 0.30779,
"c": 0.05341,
"h": 252.7
},
"luminance": 0.02924
}Semantic roles & 50–950 ramp
primary
#1B314A
secondary
#806241
accent
#9852D6
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040609
muted
#797A7B