#254C92#254C92
#254C92 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.8% C 0.124 H 261.0°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #254C92 |
|---|---|
| RGB | rgb(37, 76, 146) |
| HSL | hsl(219, 60%, 36%) |
| HSV | hsv(219, 75%, 57%) |
| CMYK | cmyk(74.7%, 47.9%, 0%, 42.7%) |
| CIE-LAB | lab(33.21, 11.76, -42.65) |
| CIE-LCH | lch(33.21, 44.24, 285.42°) |
| OKLab | oklab(42.81% -0.0193 -0.1223) |
| OKLCH | oklch(42.81% 0.124 261) |
| XYZ | xyz(8.5338, 7.6366, 28.2128) |
| Luminance | 0.0764 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.33
Dusk Blue
#26538D
ΔE00 2.90
Cobalt
#0047AB
ΔE00 3.83
Darkish Blue
#014182
ΔE00 4.36
Light Navy
#155084
ΔE00 4.40
Twilight Blue
#0A437A
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254C92 #926B25
analogous
#258292 #254C92 #342592
triadic
#254C92 #92254C #4C9225
tetradic
#254C92 #922582 #926B25 #259234
square
#254C92 #922582 #926B25 #259234
split-complementary
#254C92 #923425 #829225
monochromatic
#0C1930 #193361 #254C92 #3165C3 #5C87D6
Accessibility & contrast
On white
8.31
#254C92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#254C92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254C92
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254C92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254C92 | 1.00 | 8.31 | 2.53 | 8.31 |
| #FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#275395
Deuteranopia (green-blind)
#0B4991
Tritanopia (blue-blind)
#005D68
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #254c92; /* rgb */ color: rgb(37, 76, 146); /* oklch */ color: oklch(42.8% 0.124 261.0);
Tailwind
colors: {
custom: {
50: '#6f7db2',
500: '#254c92',
950: '#000000',
},
}SCSS
$custom: #254c92; $custom-light: #6f7db2; $custom-dark: #000000;
JSON
{
"hex": "#254c92",
"rgb": {
"r": 37,
"g": 76,
"b": 146
},
"hsl": {
"h": 218.532,
"s": 59.563,
"l": 35.882
},
"oklch": {
"l": 0.42808,
"c": 0.12383,
"h": 261
},
"luminance": 0.07638
}Semantic roles & 50–950 ramp
primary
#254C92
secondary
#BA9758
accent
#AA45E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80