#254E93#254E93
#254E93 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.3% C 0.123 H 260.2°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #254E93 |
|---|---|
| RGB | rgb(37, 78, 147) |
| HSL | hsl(218, 60%, 36%) |
| HSV | hsv(218, 75%, 58%) |
| CMYK | cmyk(74.8%, 46.9%, 0%, 42.4%) |
| CIE-LAB | lab(33.87, 10.81, -42.20) |
| CIE-LCH | lch(33.87, 43.56, 284.37°) |
| OKLab | oklab(43.34% -0.021 -0.121) |
| OKLCH | oklch(43.34% 0.123 260.2) |
| XYZ | xyz(8.7519, 7.9477, 28.6709) |
| Luminance | 0.0795 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.95
Dusk Blue
#26538D
ΔE00 2.25
Light Navy
#155084
ΔE00 4.00
Cobalt
#0047AB
ΔE00 4.05
Denim Blue
#3B5B92
ΔE00 4.51
Darkish Blue
#014182
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254E93 #936A25
analogous
#258593 #254E93 #332593
triadic
#254E93 #93254E #4E9325
tetradic
#254E93 #932585 #936A25 #259333
square
#254E93 #932585 #936A25 #259333
split-complementary
#254E93 #933325 #859325
monochromatic
#0C1A31 #193462 #254E93 #3168C4 #5C8AD6
Accessibility & contrast
On white
8.11
#254E93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#254E93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254E93
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254E93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254E93 | 1.00 | 8.11 | 2.59 | 8.11 |
| #FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A5596
Deuteranopia (green-blind)
#124B92
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #254e93; /* rgb */ color: rgb(37, 78, 147); /* oklch */ color: oklch(43.3% 0.123 260.2);
Tailwind
colors: {
custom: {
50: '#6f7fb3',
500: '#254e93',
950: '#000000',
},
}SCSS
$custom: #254e93; $custom-light: #6f7fb3; $custom-dark: #000000;
JSON
{
"hex": "#254e93",
"rgb": {
"r": 37,
"g": 78,
"b": 147
},
"hsl": {
"h": 217.636,
"s": 59.783,
"l": 36.078
},
"oklch": {
"l": 0.43336,
"c": 0.12276,
"h": 260.2
},
"luminance": 0.07949
}Semantic roles & 50–950 ramp
primary
#254E93
secondary
#BB9659
accent
#A845E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80