#1B237A#1B237A
#1B237A is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.145 H 270.9°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).
Color values
| HEX | #1B237A |
|---|---|
| RGB | rgb(27, 35, 122) |
| HSL | hsl(235, 64%, 29%) |
| HSV | hsv(235, 78%, 48%) |
| CMYK | cmyk(77.9%, 71.3%, 0%, 52.2%) |
| CIE-LAB | lab(19.39, 29.20, -50.19) |
| CIE-LCH | lch(19.39, 58.06, 300.19°) |
| OKLab | oklab(31.7% 0.0023 -0.1452) |
| OKLCH | oklch(31.7% 0.145 270.9) |
| XYZ | xyz(4.5647, 2.8397, 18.7161) |
| Luminance | 0.0284 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.91
Royal
#0C1793
ΔE00 5.10
Dark Royal Blue
#02066F
ΔE00 6.72
Darkblue (survey)
#030764
ΔE00 7.09
Deep Blue
#040273
ΔE00 7.27
Navy
#000080
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B237A #7A721B
analogous
#1B537A #1B237A #431B7A
triadic
#1B237A #7A1B23 #237A1B
tetradic
#1B237A #7A1B53 #7A721B #1B7A43
square
#1B237A #7A1B53 #7A721B #1B7A43
split-complementary
#1B237A #7A431B #537A1B
monochromatic
#060719 #101548 #1B237A #2631AC #3C48D4
Accessibility & contrast
On white
13.39
#1B237A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#1B237A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B237A
13.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B237A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B237A | 1.00 | 13.39 | 1.57 | 13.39 |
| #FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00347D
Deuteranopia (green-blind)
#002A78
Tritanopia (blue-blind)
#003B4B
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1b237a; /* rgb */ color: rgb(27, 35, 122); /* oklch */ color: oklch(31.7% 0.145 270.9);
Tailwind
colors: {
custom: {
50: '#685ea1',
500: '#1b237a',
950: '#000000',
},
}SCSS
$custom: #1b237a; $custom-light: #685ea1; $custom-dark: #000000;
JSON
{
"hex": "#1b237a",
"rgb": {
"r": 27,
"g": 35,
"b": 122
},
"hsl": {
"h": 234.947,
"s": 63.758,
"l": 29.216
},
"oklch": {
"l": 0.31703,
"c": 0.14524,
"h": 270.9
},
"luminance": 0.0284
}Semantic roles & 50–950 ramp
primary
#1B237A
secondary
#AEA543
accent
#D941E7
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F