#154794#154794
#154794 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.3% C 0.138 H 259.3°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #154794 |
|---|---|
| RGB | rgb(21, 71, 148) |
| HSL | hsl(216, 75%, 33%) |
| HSV | hsv(216, 86%, 58%) |
| CMYK | cmyk(85.8%, 52%, 0%, 42%) |
| CIE-LAB | lab(31.35, 14.15, -46.90) |
| CIE-LCH | lch(31.35, 48.98, 286.79°) |
| OKLab | oklab(41.28% -0.0254 -0.1351) |
| OKLCH | oklch(41.28% 0.138 259.3) |
| XYZ | xyz(7.9058, 6.8030, 28.9077) |
| Luminance | 0.0680 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.87
Cobalt
#0047AB
ΔE00 3.07
Darkish Blue
#014182
ΔE00 3.16
Twilight Blue
#0A437A
ΔE00 3.93
Dusk Blue
#26538D
ΔE00 4.20
Light Navy
#155084
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#154794 #946215
analogous
#158694 #154794 #221594
triadic
#154794 #941547 #479415
tetradic
#154794 #941586 #946215 #159422
square
#154794 #941586 #946215 #159422
split-complementary
#154794 #942215 #869415
monochromatic
#061429 #0D2D5E #154794 #1D61CA #4080E4
Accessibility & contrast
On white
8.90
#154794 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#154794 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #154794
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##154794 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##154794 | 1.00 | 8.90 | 2.36 | 8.90 |
| #FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#145097
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#005A66
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #154794; /* rgb */ color: rgb(21, 71, 148); /* oklch */ color: oklch(41.3% 0.138 259.3);
Tailwind
colors: {
custom: {
50: '#6b79b4',
500: '#154794',
950: '#000000',
},
}SCSS
$custom: #154794; $custom-light: #6b79b4; $custom-dark: #000000;
JSON
{
"hex": "#154794",
"rgb": {
"r": 21,
"g": 71,
"b": 148
},
"hsl": {
"h": 216.378,
"s": 75.148,
"l": 33.137
},
"oklch": {
"l": 0.41279,
"c": 0.13753,
"h": 259.3
},
"luminance": 0.06804
}Semantic roles & 50–950 ramp
primary
#154794
secondary
#C49041
accent
#A836F2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80