#1B137F#1B137F
#1B137F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.168 H 272.9°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).
Color values
| HEX | #1B137F |
|---|---|
| RGB | rgb(27, 19, 127) |
| HSL | hsl(244, 74%, 29%) |
| HSV | hsv(244, 85%, 50%) |
| CMYK | cmyk(78.7%, 85%, 0%, 50.2%) |
| CIE-LAB | lab(16.65, 40.33, -57.89) |
| CIE-LCH | lch(16.65, 70.55, 304.86°) |
| OKLab | oklab(29.93% 0.0084 -0.1675) |
| OKLCH | oklch(29.93% 0.168 272.9) |
| XYZ | xyz(4.5144, 2.2306, 20.2672) |
| Luminance | 0.0223 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.02
Midnight Blue
#191970
ΔE00 3.05
Navy
#000080
ΔE00 3.29
Darkblue
#00008B
ΔE00 3.43
Dark Royal Blue
#02066F
ΔE00 3.57
Deep Blue
#040273
ΔE00 3.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B137F #777F13
analogous
#13417F #1B137F #51137F
triadic
#1B137F #7F1B13 #137F1B
tetradic
#1B137F #7F1341 #777F13 #137F51
square
#1B137F #7F1341 #777F13 #137F51
split-complementary
#1B137F #7F5113 #417F13
monochromatic
#06041B #100B4A #1B137F #261BB4 #3A2DE0
Accessibility & contrast
On white
14.52
#1B137F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#1B137F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B137F
14.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B137F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B137F | 1.00 | 14.52 | 1.45 | 14.52 |
| #FFFFFF | 14.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00247D
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1b137f; /* rgb */ color: rgb(27, 19, 127); /* oklch */ color: oklch(29.9% 0.168 272.9);
Tailwind
colors: {
custom: {
50: '#6b54a5',
500: '#1b137f',
950: '#000000',
},
}SCSS
$custom: #1b137f; $custom-light: #6b54a5; $custom-dark: #000000;
JSON
{
"hex": "#1b137f",
"rgb": {
"r": 27,
"g": 19,
"b": 127
},
"hsl": {
"h": 244.444,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.29934,
"c": 0.16769,
"h": 272.9
},
"luminance": 0.02231
}Semantic roles & 50–950 ramp
primary
#1B137F
secondary
#ABB439
accent
#F137E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F