#1B3152#1B3152
#1B3152 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.3% C 0.066 H 258.3°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3152 |
|---|---|
| RGB | rgb(27, 49, 82) |
| HSL | hsl(216, 50%, 21%) |
| HSV | hsv(216, 67%, 32%) |
| CMYK | cmyk(67.1%, 40.2%, 0%, 67.8%) |
| CIE-LAB | lab(20.20, 3.26, -22.75) |
| CIE-LCH | lch(20.20, 22.98, 278.15°) |
| OKLab | oklab(31.29% -0.0134 -0.0645) |
| OKLCH | oklch(31.29% 0.066 258.3) |
| XYZ | xyz(3.0728, 3.0386, 8.4056) |
| Luminance | 0.0304 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.93
Marine
#042E60
ΔE00 3.79
Marine Blue
#01386A
ΔE00 5.17
Twilight Blue
#0A437A
ΔE00 8.13
Darkish Blue
#014182
ΔE00 8.46
Dark
#1B2431
ΔE00 8.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3152 #523C1B
analogous
#1B4D52 #1B3152 #211B52
triadic
#1B3152 #521B31 #31521B
tetradic
#1B3152 #521B4D #523C1B #1B5221
square
#1B3152 #521B4D #523C1B #1B5221
split-complementary
#1B3152 #52211B #4D521B
monochromatic
#080E17 #0C1524 #1B3152 #2A4D80 #3968AE
Accessibility & contrast
On white
13.06
#1B3152 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#1B3152 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3152
13.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3152 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3152 | 1.00 | 13.06 | 1.61 | 13.06 |
| #FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#233453
Deuteranopia (green-blind)
#1B2E51
Tritanopia (blue-blind)
#00383D
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1b3152; /* rgb */ color: rgb(27, 49, 82); /* oklch */ color: oklch(31.3% 0.066 258.3);
Tailwind
colors: {
custom: {
50: '#5d6883',
500: '#1b3152',
950: '#000000',
},
}SCSS
$custom: #1b3152; $custom-light: #5d6883; $custom-dark: #000000;
JSON
{
"hex": "#1b3152",
"rgb": {
"r": 27,
"g": 49,
"b": 82
},
"hsl": {
"h": 216,
"s": 50.459,
"l": 21.373
},
"oklch": {
"l": 0.31291,
"c": 0.06589,
"h": 258.3
},
"luminance": 0.03039
}Semantic roles & 50–950 ramp
primary
#1B3152
secondary
#886B41
accent
#A24EDA
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060A
muted
#797A7C