#1B146F#1B146F
#1B146F is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.147 H 274.8°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).
Color values
| HEX | #1B146F |
|---|---|
| RGB | rgb(27, 20, 111) |
| HSL | hsl(245, 69%, 26%) |
| HSV | hsv(245, 82%, 44%) |
| CMYK | cmyk(75.7%, 82%, 0%, 56.5%) |
| CIE-LAB | lab(14.85, 34.49, -50.59) |
| CIE-LCH | lch(14.85, 61.23, 304.28°) |
| OKLab | oklab(28.1% 0.0123 -0.1463) |
| OKLCH | oklch(28.1% 0.147 274.8) |
| XYZ | xyz(3.5704, 1.8807, 15.2107) |
| Luminance | 0.0188 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.36
Dark Royal Blue
#02066F
ΔE00 3.09
Darkblue (survey)
#030764
ΔE00 3.32
Deep Blue
#040273
ΔE00 3.72
Navy
#000080
ΔE00 4.61
Dark Blue
#00035B
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B146F #686F14
analogous
#143A6F #1B146F #48146F
triadic
#1B146F #6F1B14 #146F1B
tetradic
#1B146F #6F143A #686F14 #146F48
square
#1B146F #6F143A #686F14 #146F48
split-complementary
#1B146F #6F4814 #3A6F14
monochromatic
#06051A #0E0B3B #1B146F #281DA3 #3427D7
Accessibility & contrast
On white
15.26
#1B146F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.38
#1B146F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B146F
15.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B146F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B146F | 1.00 | 15.26 | 1.38 | 15.26 |
| #FFFFFF | 15.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002972
Deuteranopia (green-blind)
#00216D
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #1b146f; /* rgb */ color: rgb(27, 20, 111); /* oklch */ color: oklch(28.1% 0.147 274.8);
Tailwind
colors: {
custom: {
50: '#675499',
500: '#1b146f',
950: '#000000',
},
}SCSS
$custom: #1b146f; $custom-light: #675499; $custom-dark: #000000;
JSON
{
"hex": "#1b146f",
"rgb": {
"r": 27,
"g": 20,
"b": 111
},
"hsl": {
"h": 244.615,
"s": 69.466,
"l": 25.686
},
"oklch": {
"l": 0.28103,
"c": 0.14681,
"h": 274.8
},
"luminance": 0.01881
}Semantic roles & 50–950 ramp
primary
#1B146F
secondary
#9DA639
accent
#EC3CDF
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030E
muted
#7A787E