#1B4287#1B4287
#1B4287 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.3% C 0.124 H 260.8°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #1B4287 |
|---|---|
| RGB | rgb(27, 66, 135) |
| HSL | hsl(218, 67%, 32%) |
| HSV | hsv(218, 80%, 53%) |
| CMYK | cmyk(80%, 51.1%, 0%, 47.1%) |
| CIE-LAB | lab(29.10, 12.87, -42.54) |
| CIE-LCH | lch(29.10, 44.44, 286.84°) |
| OKLab | oklab(39.31% -0.0197 -0.1223) |
| OKLCH | oklch(39.31% 0.124 260.8) |
| XYZ | xyz(6.7718, 5.8779, 23.6946) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.08
Darkish Blue
#014182
ΔE00 2.27
Twilight Blue
#0A437A
ΔE00 3.26
Prussian Blue
#004577
ΔE00 4.83
Cobalt
#0047AB
ΔE00 4.87
Marine Blue
#01386A
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B4287 #87601B
analogous
#1B7887 #1B4287 #2A1B87
triadic
#1B4287 #871B42 #42871B
tetradic
#1B4287 #871B78 #87601B #1B872A
square
#1B4287 #871B78 #87601B #1B872A
split-complementary
#1B4287 #872A1B #78871B
monochromatic
#071021 #112954 #1B4287 #255BBA #4379D9
Accessibility & contrast
On white
9.65
#1B4287 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#1B4287 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B4287
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B4287 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B4287 | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#184A8A
Deuteranopia (green-blind)
#004086
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1b4287; /* rgb */ color: rgb(27, 66, 135); /* oklch */ color: oklch(39.3% 0.124 260.8);
Tailwind
colors: {
custom: {
50: '#6975aa',
500: '#1b4287',
950: '#000000',
},
}SCSS
$custom: #1b4287; $custom-light: #6975aa; $custom-dark: #000000;
JSON
{
"hex": "#1b4287",
"rgb": {
"r": 27,
"g": 66,
"b": 135
},
"hsl": {
"h": 218.333,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.39306,
"c": 0.12392,
"h": 260.8
},
"luminance": 0.05879
}Semantic roles & 50–950 ramp
primary
#1B4287
secondary
#BA8F44
accent
#AC3EEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F