#154186#154186
#154186 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 38.8% C 0.125 H 259.4°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #154186 |
|---|---|
| RGB | rgb(21, 65, 134) |
| HSL | hsl(217, 73%, 30%) |
| HSV | hsv(217, 84%, 53%) |
| CMYK | cmyk(84.3%, 51.5%, 0%, 47.5%) |
| CIE-LAB | lab(28.54, 12.50, -42.83) |
| CIE-LCH | lch(28.54, 44.62, 286.27°) |
| OKLab | oklab(38.8% -0.023 -0.1233) |
| OKLCH | oklch(38.8% 0.125 259.4) |
| XYZ | xyz(6.5011, 5.6605, 23.2996) |
| Luminance | 0.0566 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 1.76
Cobalt (survey)
#1E488F
ΔE00 2.38
Twilight Blue
#0A437A
ΔE00 2.89
Prussian Blue
#004577
ΔE00 4.47
Marine Blue
#01386A
ΔE00 4.67
Cobalt
#0047AB
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#154186 #865A15
analogous
#157986 #154186 #211586
triadic
#154186 #861541 #418615
tetradic
#154186 #861579 #865A15 #158621
square
#154186 #861579 #865A15 #158621
split-complementary
#154186 #862115 #798615
monochromatic
#040E1C #0D2751 #154186 #1D5BBB #3678DF
Accessibility & contrast
On white
9.85
#154186 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#154186 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #154186
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##154186 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##154186 | 1.00 | 9.85 | 2.13 | 9.85 |
| #FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#164989
Deuteranopia (green-blind)
#003F85
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #154186; /* rgb */ color: rgb(21, 65, 134); /* oklch */ color: oklch(38.8% 0.125 259.4);
Tailwind
colors: {
custom: {
50: '#6775aa',
500: '#154186',
950: '#000000',
},
}SCSS
$custom: #154186; $custom-light: #6775aa; $custom-dark: #000000;
JSON
{
"hex": "#154186",
"rgb": {
"r": 21,
"g": 65,
"b": 134
},
"hsl": {
"h": 216.637,
"s": 72.903,
"l": 30.392
},
"oklch": {
"l": 0.38797,
"c": 0.12544,
"h": 259.4
},
"luminance": 0.05661
}Semantic roles & 50–950 ramp
primary
#154186
secondary
#BA893C
accent
#A838F0
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#070810
muted
#7A7B7F