#254F95#254F95
#254F95 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.7% C 0.124 H 260.0°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #254F95 |
|---|---|
| RGB | rgb(37, 79, 149) |
| HSL | hsl(218, 60%, 36%) |
| HSV | hsv(218, 75%, 58%) |
| CMYK | cmyk(75.2%, 47%, 0%, 41.6%) |
| CIE-LAB | lab(34.30, 10.92, -42.73) |
| CIE-LCH | lch(34.30, 44.10, 284.34°) |
| OKLab | oklab(43.71% -0.0215 -0.1225) |
| OKLCH | oklch(43.71% 0.124 260) |
| XYZ | xyz(8.9818, 8.1542, 29.5285) |
| Luminance | 0.0815 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.09
Cobalt (survey)
#1E488F
ΔE00 2.30
Light Navy
#155084
ΔE00 3.99
Cobalt
#0047AB
ΔE00 4.05
Denim Blue
#3B5B92
ΔE00 4.26
Light Navy Blue
#2E5A88
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254F95 #956B25
analogous
#258795 #254F95 #332595
triadic
#254F95 #95254F #4F9525
tetradic
#254F95 #952587 #956B25 #259533
square
#254F95 #952587 #956B25 #259533
split-complementary
#254F95 #953325 #879525
monochromatic
#0D1B33 #193564 #254F95 #3169C6 #5E8BD7
Accessibility & contrast
On white
7.98
#254F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#254F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254F95
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254F95 | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A5698
Deuteranopia (green-blind)
#114C94
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #254f95; /* rgb */ color: rgb(37, 79, 149); /* oklch */ color: oklch(43.7% 0.124 260.0);
Tailwind
colors: {
custom: {
50: '#6f7fb5',
500: '#254f95',
950: '#000000',
},
}SCSS
$custom: #254f95; $custom-light: #6f7fb5; $custom-dark: #000000;
JSON
{
"hex": "#254f95",
"rgb": {
"r": 37,
"g": 79,
"b": 149
},
"hsl": {
"h": 217.5,
"s": 60.215,
"l": 36.471
},
"oklch": {
"l": 0.43708,
"c": 0.12437,
"h": 260
},
"luminance": 0.08155
}Semantic roles & 50–950 ramp
primary
#254F95
secondary
#BC975A
accent
#A844E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80