#254C94#254C94
#254C94 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.0% C 0.127 H 261.4°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #254C94 |
|---|---|
| RGB | rgb(37, 76, 148) |
| HSL | hsl(219, 60%, 36%) |
| HSV | hsv(219, 75%, 58%) |
| CMYK | cmyk(75%, 48.6%, 0%, 42%) |
| CIE-LAB | lab(33.35, 12.55, -43.65) |
| CIE-LCH | lch(33.35, 45.42, 286.03°) |
| OKLab | oklab(42.95% -0.019 -0.1253) |
| OKLCH | oklch(42.95% 0.127 261.4) |
| XYZ | xyz(8.6908, 7.6994, 29.0393) |
| Luminance | 0.0770 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.43
Dusk Blue
#26538D
ΔE00 3.04
Cobalt
#0047AB
ΔE00 3.60
Darkish Blue
#014182
ΔE00 4.52
Light Navy
#155084
ΔE00 4.58
Twilight Blue
#0A437A
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254C94 #946D25
analogous
#258494 #254C94 #362594
triadic
#254C94 #94254C #4C9425
tetradic
#254C94 #942584 #946D25 #259436
square
#254C94 #942584 #946D25 #259436
split-complementary
#254C94 #943625 #849425
monochromatic
#0D1A32 #193363 #254C94 #3165C5 #5D88D6
Accessibility & contrast
On white
8.27
#254C94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#254C94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254C94
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254C94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254C94 | 1.00 | 8.27 | 2.54 | 8.27 |
| #FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#255497
Deuteranopia (green-blind)
#054A93
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #254c94; /* rgb */ color: rgb(37, 76, 148); /* oklch */ color: oklch(43.0% 0.127 261.4);
Tailwind
colors: {
custom: {
50: '#6f7db4',
500: '#254c94',
950: '#000000',
},
}SCSS
$custom: #254c94; $custom-light: #6f7db4; $custom-dark: #000000;
JSON
{
"hex": "#254c94",
"rgb": {
"r": 37,
"g": 76,
"b": 148
},
"hsl": {
"h": 218.919,
"s": 60,
"l": 36.275
},
"oklch": {
"l": 0.42954,
"c": 0.1267,
"h": 261.4
},
"luminance": 0.077
}Semantic roles & 50–950 ramp
primary
#254C94
secondary
#BB9959
accent
#AB45E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80