#154791#154791
#154791 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.0% C 0.133 H 258.8°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #154791 |
|---|---|
| RGB | rgb(21, 71, 145) |
| HSL | hsl(216, 75%, 33%) |
| HSV | hsv(216, 86%, 57%) |
| CMYK | cmyk(85.5%, 51%, 0%, 43.1%) |
| CIE-LAB | lab(31.14, 12.91, -45.42) |
| CIE-LCH | lch(31.14, 47.22, 285.87°) |
| OKLab | oklab(41.04% -0.0259 -0.1308) |
| OKLCH | oklch(41.04% 0.133 258.8) |
| XYZ | xyz(7.6715, 6.7093, 27.6733) |
| Luminance | 0.0671 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.73
Darkish Blue
#014182
ΔE00 2.81
Cobalt
#0047AB
ΔE00 3.48
Twilight Blue
#0A437A
ΔE00 3.53
Dusk Blue
#26538D
ΔE00 4.06
Light Navy
#155084
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#154791 #915F15
analogous
#158591 #154791 #211591
triadic
#154791 #911547 #479115
tetradic
#154791 #911585 #915F15 #159121
square
#154791 #911585 #915F15 #159121
split-complementary
#154791 #912115 #859115
monochromatic
#061326 #0D2D5C #154791 #1D61C6 #3D80E3
Accessibility & contrast
On white
8.97
#154791 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#154791 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #154791
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##154791 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##154791 | 1.00 | 8.97 | 2.34 | 8.97 |
| #FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#194F94
Deuteranopia (green-blind)
#004490
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #154791; /* rgb */ color: rgb(21, 71, 145); /* oklch */ color: oklch(41.0% 0.133 258.8);
Tailwind
colors: {
custom: {
50: '#6a79b2',
500: '#154791',
950: '#000000',
},
}SCSS
$custom: #154791; $custom-light: #6a79b2; $custom-dark: #000000;
JSON
{
"hex": "#154791",
"rgb": {
"r": 21,
"g": 71,
"b": 145
},
"hsl": {
"h": 215.806,
"s": 74.699,
"l": 32.549
},
"oklch": {
"l": 0.41042,
"c": 0.13333,
"h": 258.8
},
"luminance": 0.0671
}Semantic roles & 50–950 ramp
primary
#154791
secondary
#C38E3F
accent
#A636F1
background
#F6F7FB
surface
#ECEDF6
border
#C7C8D0
text
#080911
muted
#7A7B80