#1B137C#1B137C
#1B137C is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.164 H 273.2°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).
Color values
| HEX | #1B137C |
|---|---|
| RGB | rgb(27, 19, 124) |
| HSL | hsl(245, 73%, 28%) |
| HSV | hsv(245, 85%, 49%) |
| CMYK | cmyk(78.2%, 84.7%, 0%, 51.4%) |
| CIE-LAB | lab(16.27, 39.35, -56.61) |
| CIE-LCH | lch(16.27, 68.95, 304.80°) |
| OKLab | oklab(29.56% 0.0092 -0.1638) |
| OKLCH | oklch(29.56% 0.164 273.2) |
| XYZ | xyz(4.3217, 2.1535, 19.2528) |
| Luminance | 0.0215 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.68
Dark Royal Blue
#02066F
ΔE00 3.30
Navy
#000080
ΔE00 3.37
Royal
#0C1793
ΔE00 3.45
Deep Blue
#040273
ΔE00 3.45
Darkblue
#00008B
ΔE00 3.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B137C #747C13
analogous
#13407C #1B137C #4F137C
triadic
#1B137C #7C1B13 #137C1B
tetradic
#1B137C #7C1340 #747C13 #137C4F
square
#1B137C #7C1340 #747C13 #137C4F
split-complementary
#1B137C #7C4F13 #407C13
monochromatic
#06041B #0F0B47 #1B137C #271BB1 #392BDF
Accessibility & contrast
On white
14.68
#1B137C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#1B137C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B137C
14.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B137C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B137C | 1.00 | 14.68 | 1.43 | 14.68 |
| #FFFFFF | 14.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D7F
Deuteranopia (green-blind)
#00237A
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1b137c; /* rgb */ color: rgb(27, 19, 124); /* oklch */ color: oklch(29.6% 0.164 273.2);
Tailwind
colors: {
custom: {
50: '#6a54a3',
500: '#1b137c',
950: '#000000',
},
}SCSS
$custom: #1b137c; $custom-light: #6a54a3; $custom-dark: #000000;
JSON
{
"hex": "#1b137c",
"rgb": {
"r": 27,
"g": 19,
"b": 124
},
"hsl": {
"h": 244.571,
"s": 73.427,
"l": 28.039
},
"oklch": {
"l": 0.29561,
"c": 0.16402,
"h": 273.2
},
"luminance": 0.02154
}Semantic roles & 50–950 ramp
primary
#1B137C
secondary
#A9B239
accent
#F038E2
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F