#254E92#254E92
#254E92 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.3% C 0.121 H 260.0°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #254E92 |
|---|---|
| RGB | rgb(37, 78, 146) |
| HSL | hsl(217, 60%, 36%) |
| HSV | hsv(217, 75%, 57%) |
| CMYK | cmyk(74.7%, 46.6%, 0%, 42.7%) |
| CIE-LAB | lab(33.81, 10.42, -41.70) |
| CIE-LCH | lch(33.81, 42.98, 284.03°) |
| OKLab | oklab(43.27% -0.0211 -0.1195) |
| OKLCH | oklch(43.27% 0.121 260) |
| XYZ | xyz(8.6738, 7.9165, 28.2595) |
| Luminance | 0.0792 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.94
Dusk Blue
#26538D
ΔE00 2.17
Light Navy
#155084
ΔE00 3.89
Cobalt
#0047AB
ΔE00 4.16
Denim Blue
#3B5B92
ΔE00 4.51
Darkish Blue
#014182
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254E92 #926925
analogous
#258492 #254E92 #322592
triadic
#254E92 #92254E #4E9225
tetradic
#254E92 #922584 #926925 #259232
square
#254E92 #922584 #926925 #259232
split-complementary
#254E92 #923225 #849225
monochromatic
#0C1A30 #193461 #254E92 #3168C3 #5C8AD6
Accessibility & contrast
On white
8.13
#254E92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#254E92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254E92
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254E92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254E92 | 1.00 | 8.13 | 2.58 | 8.13 |
| #FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5595
Deuteranopia (green-blind)
#144B91
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #254e92; /* rgb */ color: rgb(37, 78, 146); /* oklch */ color: oklch(43.3% 0.121 260.0);
Tailwind
colors: {
custom: {
50: '#6f7fb2',
500: '#254e92',
950: '#000000',
},
}SCSS
$custom: #254e92; $custom-light: #6f7fb2; $custom-dark: #000000;
JSON
{
"hex": "#254e92",
"rgb": {
"r": 37,
"g": 78,
"b": 146
},
"hsl": {
"h": 217.431,
"s": 59.563,
"l": 35.882
},
"oklch": {
"l": 0.43265,
"c": 0.12134,
"h": 260
},
"luminance": 0.07917
}Semantic roles & 50–950 ramp
primary
#254E92
secondary
#BA9658
accent
#A745E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80