#1B156F#1B156F
#1B156F is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.2% C 0.146 H 274.6°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).
Color values
| HEX | #1B156F |
|---|---|
| RGB | rgb(27, 21, 111) |
| HSL | hsl(244, 68%, 26%) |
| HSV | hsv(244, 81%, 44%) |
| CMYK | cmyk(75.7%, 81.1%, 0%, 56.5%) |
| CIE-LAB | lab(15.04, 33.93, -50.26) |
| CIE-LCH | lch(15.04, 60.64, 304.02°) |
| OKLab | oklab(28.24% 0.0118 -0.1454) |
| OKLCH | oklch(28.24% 0.146 274.6) |
| XYZ | xyz(3.5885, 1.9167, 15.2167) |
| Luminance | 0.0192 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.12
Dark Royal Blue
#02066F
ΔE00 3.29
Darkblue (survey)
#030764
ΔE00 3.49
Deep Blue
#040273
ΔE00 3.94
Navy
#000080
ΔE00 4.80
Dark Blue
#00035B
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B156F #696F15
analogous
#153C6F #1B156F #48156F
triadic
#1B156F #6F1B15 #156F1B
tetradic
#1B156F #6F153C #696F15 #156F48
square
#1B156F #6F153C #696F15 #156F48
split-complementary
#1B156F #6F4815 #3C6F15
monochromatic
#06051A #0E0B3C #1B156F #281FA2 #3428D6
Accessibility & contrast
On white
15.18
#1B156F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.38
#1B156F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B156F
15.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B156F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B156F | 1.00 | 15.18 | 1.38 | 15.18 |
| #FFFFFF | 15.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00226D
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #1b156f; /* rgb */ color: rgb(27, 21, 111); /* oklch */ color: oklch(28.2% 0.146 274.6);
Tailwind
colors: {
custom: {
50: '#675499',
500: '#1b156f',
950: '#000000',
},
}SCSS
$custom: #1b156f; $custom-light: #675499; $custom-dark: #000000;
JSON
{
"hex": "#1b156f",
"rgb": {
"r": 27,
"g": 21,
"b": 111
},
"hsl": {
"h": 244,
"s": 68.182,
"l": 25.882
},
"oklch": {
"l": 0.2824,
"c": 0.14586,
"h": 274.6
},
"luminance": 0.01917
}Semantic roles & 50–950 ramp
primary
#1B156F
secondary
#9EA53A
accent
#EB3DDF
background
#F6F5F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E