#254C95#254C95
#254C95 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.0% C 0.128 H 261.6°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #254C95 |
|---|---|
| RGB | rgb(37, 76, 149) |
| HSL | hsl(219, 60%, 36%) |
| HSV | hsv(219, 75%, 58%) |
| CMYK | cmyk(75.2%, 49%, 0%, 41.6%) |
| CIE-LAB | lab(33.42, 12.94, -44.15) |
| CIE-LCH | lch(33.42, 46.01, 286.33°) |
| OKLab | oklab(43.03% -0.0188 -0.1267) |
| OKLCH | oklch(43.03% 0.128 261.6) |
| XYZ | xyz(8.7703, 7.7312, 29.4580) |
| Luminance | 0.0773 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.49
Dusk Blue
#26538D
ΔE00 3.11
Cobalt
#0047AB
ΔE00 3.49
Darkish Blue
#014182
ΔE00 4.60
Light Navy
#155084
ΔE00 4.68
Sapphire
#0F52BA
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254C95 #956E25
analogous
#258495 #254C95 #362595
triadic
#254C95 #95254C #4C9525
tetradic
#254C95 #952584 #956E25 #259536
square
#254C95 #952584 #956E25 #259536
split-complementary
#254C95 #953625 #849525
monochromatic
#0D1A33 #193364 #254C95 #3165C6 #5E88D7
Accessibility & contrast
On white
8.25
#254C95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#254C95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254C95
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254C95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254C95 | 1.00 | 8.25 | 2.55 | 8.25 |
| #FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#245498
Deuteranopia (green-blind)
#024A94
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #254c95; /* rgb */ color: rgb(37, 76, 149); /* oklch */ color: oklch(43.0% 0.128 261.6);
Tailwind
colors: {
custom: {
50: '#6f7db5',
500: '#254c95',
950: '#000000',
},
}SCSS
$custom: #254c95; $custom-light: #6f7db5; $custom-dark: #000000;
JSON
{
"hex": "#254c95",
"rgb": {
"r": 37,
"g": 76,
"b": 149
},
"hsl": {
"h": 219.107,
"s": 60.215,
"l": 36.471
},
"oklch": {
"l": 0.43028,
"c": 0.12813,
"h": 261.6
},
"luminance": 0.07732
}Semantic roles & 50–950 ramp
primary
#254C95
secondary
#BC9A5A
accent
#AC44E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80