#1B156E#1B156E
#1B156E is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.145 H 274.8°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).
Color values
| HEX | #1B156E |
|---|---|
| RGB | rgb(27, 21, 110) |
| HSL | hsl(244, 68%, 26%) |
| HSV | hsv(244, 81%, 43%) |
| CMYK | cmyk(75.5%, 80.9%, 0%, 56.9%) |
| CIE-LAB | lab(14.93, 33.58, -49.81) |
| CIE-LCH | lch(14.93, 60.07, 303.99°) |
| OKLab | oklab(28.12% 0.012 -0.144) |
| OKLCH | oklch(28.12% 0.145 274.8) |
| XYZ | xyz(3.5337, 1.8948, 14.9283) |
| Luminance | 0.0190 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.12
Dark Royal Blue
#02066F
ΔE00 3.33
Darkblue (survey)
#030764
ΔE00 3.44
Deep Blue
#040273
ΔE00 4.01
Dark Blue
#00035B
ΔE00 4.85
Navy
#000080
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B156E #686E15
analogous
#153B6E #1B156E #47156E
triadic
#1B156E #6E1B15 #156E1B
tetradic
#1B156E #6E153B #686E15 #156E47
square
#1B156E #6E153B #686E15 #156E47
split-complementary
#1B156E #6E4715 #3B6E15
monochromatic
#06051A #0E0B3B #1B156E #281FA1 #3429D5
Accessibility & contrast
On white
15.23
#1B156E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.38
#1B156E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B156E
15.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B156E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B156E | 1.00 | 15.23 | 1.38 | 15.23 |
| #FFFFFF | 15.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002971
Deuteranopia (green-blind)
#00216C
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #1b156e; /* rgb */ color: rgb(27, 21, 110); /* oklch */ color: oklch(28.1% 0.145 274.8);
Tailwind
colors: {
custom: {
50: '#665499',
500: '#1b156e',
950: '#000000',
},
}SCSS
$custom: #1b156e; $custom-light: #665499; $custom-dark: #000000;
JSON
{
"hex": "#1b156e",
"rgb": {
"r": 27,
"g": 21,
"b": 110
},
"hsl": {
"h": 244.045,
"s": 67.939,
"l": 25.686
},
"oklch": {
"l": 0.28121,
"c": 0.14455,
"h": 274.8
},
"luminance": 0.01895
}Semantic roles & 50–950 ramp
primary
#1B156E
secondary
#9DA43A
accent
#EB3DDF
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E