#1B237B#1B237B
#1B237B is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.8% C 0.147 H 270.9°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).
Color values
| HEX | #1B237B |
|---|---|
| RGB | rgb(27, 35, 123) |
| HSL | hsl(235, 64%, 29%) |
| HSV | hsv(235, 78%, 48%) |
| CMYK | cmyk(78%, 71.5%, 0%, 51.8%) |
| CIE-LAB | lab(19.49, 29.58, -50.65) |
| CIE-LCH | lch(19.49, 58.66, 300.28°) |
| OKLab | oklab(31.81% 0.0022 -0.1466) |
| OKLCH | oklch(31.81% 0.147 270.9) |
| XYZ | xyz(4.6270, 2.8646, 19.0441) |
| Luminance | 0.0286 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.96
Royal
#0C1793
ΔE00 4.95
Dark Royal Blue
#02066F
ΔE00 6.71
Darkblue (survey)
#030764
ΔE00 7.12
Deep Blue
#040273
ΔE00 7.25
Navy
#000080
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B237B #7B731B
analogous
#1B537B #1B237B #431B7B
triadic
#1B237B #7B1B23 #237B1B
tetradic
#1B237B #7B1B53 #7B731B #1B7B43
square
#1B237B #7B1B53 #7B731B #1B7B43
split-complementary
#1B237B #7B431B #537B1B
monochromatic
#060719 #101549 #1B237B #2631AD #3C49D4
Accessibility & contrast
On white
13.35
#1B237B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#1B237B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B237B
13.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B237B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B237B | 1.00 | 13.35 | 1.57 | 13.35 |
| #FFFFFF | 13.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00347E
Deuteranopia (green-blind)
#002B79
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1b237b; /* rgb */ color: rgb(27, 35, 123); /* oklch */ color: oklch(31.8% 0.147 270.9);
Tailwind
colors: {
custom: {
50: '#685ea2',
500: '#1b237b',
950: '#000000',
},
}SCSS
$custom: #1b237b; $custom-light: #685ea2; $custom-dark: #000000;
JSON
{
"hex": "#1b237b",
"rgb": {
"r": 27,
"g": 35,
"b": 123
},
"hsl": {
"h": 235,
"s": 64,
"l": 29.412
},
"oklch": {
"l": 0.31809,
"c": 0.14661,
"h": 270.9
},
"luminance": 0.02865
}Semantic roles & 50–950 ramp
primary
#1B237B
secondary
#AFA643
accent
#D941E7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F