#1B137E#1B137E
#1B137E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.166 H 273.0°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).
Color values
| HEX | #1B137E |
|---|---|
| RGB | rgb(27, 19, 126) |
| HSL | hsl(244, 74%, 28%) |
| HSV | hsv(244, 85%, 49%) |
| CMYK | cmyk(78.6%, 84.9%, 0%, 50.6%) |
| CIE-LAB | lab(16.53, 40.00, -57.47) |
| CIE-LCH | lch(16.53, 70.02, 304.84°) |
| OKLab | oklab(29.81% 0.0086 -0.1662) |
| OKLCH | oklch(29.81% 0.166 273) |
| XYZ | xyz(4.4495, 2.2046, 19.9257) |
| Luminance | 0.0221 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.92
Royal
#0C1793
ΔE00 3.16
Navy
#000080
ΔE00 3.31
Dark Royal Blue
#02066F
ΔE00 3.48
Darkblue
#00008B
ΔE00 3.51
Deep Blue
#040273
ΔE00 3.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B137E #767E13
analogous
#13407E #1B137E #50137E
triadic
#1B137E #7E1B13 #137E1B
tetradic
#1B137E #7E1340 #767E13 #137E50
square
#1B137E #7E1340 #767E13 #137E50
split-complementary
#1B137E #7E5013 #407E13
monochromatic
#06041B #100B49 #1B137E #261BB3 #3A2CDF
Accessibility & contrast
On white
14.57
#1B137E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#1B137E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B137E
14.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B137E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B137E | 1.00 | 14.57 | 1.44 | 14.57 |
| #FFFFFF | 14.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00247C
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1b137e; /* rgb */ color: rgb(27, 19, 126); /* oklch */ color: oklch(29.8% 0.166 273.0);
Tailwind
colors: {
custom: {
50: '#6b54a5',
500: '#1b137e',
950: '#000000',
},
}SCSS
$custom: #1b137e; $custom-light: #6b54a5; $custom-dark: #000000;
JSON
{
"hex": "#1b137e",
"rgb": {
"r": 27,
"g": 19,
"b": 126
},
"hsl": {
"h": 244.486,
"s": 73.793,
"l": 28.431
},
"oklch": {
"l": 0.2981,
"c": 0.16646,
"h": 273
},
"luminance": 0.02205
}Semantic roles & 50–950 ramp
primary
#1B137E
secondary
#AAB439
accent
#F037E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F