#254B95#254B95
#254B95 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.8% C 0.129 H 262.0°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #254B95 |
|---|---|
| RGB | rgb(37, 75, 149) |
| HSL | hsl(220, 60%, 36%) |
| HSV | hsv(220, 75%, 58%) |
| CMYK | cmyk(75.2%, 49.7%, 0%, 41.6%) |
| CIE-LAB | lab(33.12, 13.61, -44.62) |
| CIE-LCH | lch(33.12, 46.65, 286.96°) |
| OKLab | oklab(42.8% -0.0179 -0.1281) |
| OKLCH | oklch(42.8% 0.129 262) |
| XYZ | xyz(8.7019, 7.5944, 29.4352) |
| Luminance | 0.0760 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.33
Cobalt
#0047AB
ΔE00 3.36
Dusk Blue
#26538D
ΔE00 3.46
Darkish Blue
#014182
ΔE00 4.49
Light Navy
#155084
ΔE00 4.94
Twilight Blue
#0A437A
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254B95 #956F25
analogous
#258395 #254B95 #372595
triadic
#254B95 #95254B #4B9525
tetradic
#254B95 #952583 #956F25 #259537
square
#254B95 #952583 #956F25 #259537
split-complementary
#254B95 #953725 #839525
monochromatic
#0D1A33 #193264 #254B95 #3164C6 #5E87D7
Accessibility & contrast
On white
8.34
#254B95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#254B95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254B95
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254B95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254B95 | 1.00 | 8.34 | 2.52 | 8.34 |
| #FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#215398
Deuteranopia (green-blind)
#004994
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #254b95; /* rgb */ color: rgb(37, 75, 149); /* oklch */ color: oklch(42.8% 0.129 262.0);
Tailwind
colors: {
custom: {
50: '#707cb5',
500: '#254b95',
950: '#000000',
},
}SCSS
$custom: #254b95; $custom-light: #707cb5; $custom-dark: #000000;
JSON
{
"hex": "#254b95",
"rgb": {
"r": 37,
"g": 75,
"b": 149
},
"hsl": {
"h": 219.643,
"s": 60.215,
"l": 36.471
},
"oklch": {
"l": 0.42804,
"c": 0.1294,
"h": 262
},
"luminance": 0.07595
}Semantic roles & 50–950 ramp
primary
#254B95
secondary
#BC9B5A
accent
#AD44E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80