#254790#254790
#254790 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.5% C 0.127 H 263.2°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #254790 |
|---|---|
| RGB | rgb(37, 71, 144) |
| HSL | hsl(221, 59%, 35%) |
| HSV | hsv(221, 74%, 56%) |
| CMYK | cmyk(74.3%, 50.7%, 0%, 43.5%) |
| CIE-LAB | lab(31.61, 14.36, -44.02) |
| CIE-LCH | lch(31.61, 46.30, 288.07°) |
| OKLab | oklab(41.53% -0.0151 -0.1264) |
| OKLCH | oklch(41.53% 0.127 263.2) |
| XYZ | xyz(8.0484, 6.9125, 27.2902) |
| Luminance | 0.0691 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.18
Cobalt
#0047AB
ΔE00 3.75
Darkish Blue
#014182
ΔE00 3.83
Twilight Blue
#0A437A
ΔE00 4.57
Dusk Blue
#26538D
ΔE00 4.61
Light Navy
#155084
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254790 #906E25
analogous
#257C90 #254790 #392590
triadic
#254790 #902547 #479025
tetradic
#254790 #90257C #906E25 #259039
square
#254790 #90257C #906E25 #259039
split-complementary
#254790 #903925 #7C9025
monochromatic
#0C172F #182F5F #254790 #325FC1 #5B81D5
Accessibility & contrast
On white
8.81
#254790 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#254790 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254790
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254790 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254790 | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D5093
Deuteranopia (green-blind)
#00468F
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #254790; /* rgb */ color: rgb(37, 71, 144); /* oklch */ color: oklch(41.5% 0.127 263.2);
Tailwind
colors: {
custom: {
50: '#6f79b1',
500: '#254790',
950: '#000000',
},
}SCSS
$custom: #254790; $custom-light: #6f79b1; $custom-dark: #000000;
JSON
{
"hex": "#254790",
"rgb": {
"r": 37,
"g": 71,
"b": 144
},
"hsl": {
"h": 220.935,
"s": 59.116,
"l": 35.49
},
"oklch": {
"l": 0.41533,
"c": 0.12734,
"h": 263.2
},
"luminance": 0.06913
}Semantic roles & 50–950 ramp
primary
#254790
secondary
#B99A57
accent
#B045E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80