#254E95#254E95
#254E95 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.5% C 0.126 H 260.6°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #254E95 |
|---|---|
| RGB | rgb(37, 78, 149) |
| HSL | hsl(218, 60%, 36%) |
| HSV | hsv(218, 75%, 58%) |
| CMYK | cmyk(75.2%, 47.7%, 0%, 41.6%) |
| CIE-LAB | lab(34.01, 11.59, -43.20) |
| CIE-LCH | lch(34.01, 44.73, 285.02°) |
| OKLab | oklab(43.48% -0.0206 -0.1239) |
| OKLCH | oklch(43.48% 0.126 260.6) |
| XYZ | xyz(8.9102, 8.0110, 29.5046) |
| Luminance | 0.0801 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.00
Dusk Blue
#26538D
ΔE00 2.42
Cobalt
#0047AB
ΔE00 3.84
Light Navy
#155084
ΔE00 4.20
Denim Blue
#3B5B92
ΔE00 4.53
Sapphire
#0F52BA
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254E95 #956C25
analogous
#258695 #254E95 #342595
triadic
#254E95 #95254E #4E9525
tetradic
#254E95 #952586 #956C25 #259534
square
#254E95 #952586 #956C25 #259534
split-complementary
#254E95 #953425 #869525
monochromatic
#0D1B33 #193464 #254E95 #3168C6 #5E8AD7
Accessibility & contrast
On white
8.07
#254E95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#254E95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254E95
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254E95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254E95 | 1.00 | 8.07 | 2.60 | 8.07 |
| #FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#285598
Deuteranopia (green-blind)
#0D4B94
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #254e95; /* rgb */ color: rgb(37, 78, 149); /* oklch */ color: oklch(43.5% 0.126 260.6);
Tailwind
colors: {
custom: {
50: '#6f7fb5',
500: '#254e95',
950: '#000000',
},
}SCSS
$custom: #254e95; $custom-light: #6f7fb5; $custom-dark: #000000;
JSON
{
"hex": "#254e95",
"rgb": {
"r": 37,
"g": 78,
"b": 149
},
"hsl": {
"h": 218.036,
"s": 60.215,
"l": 36.471
},
"oklch": {
"l": 0.4348,
"c": 0.12561,
"h": 260.6
},
"luminance": 0.08012
}Semantic roles & 50–950 ramp
primary
#254E95
secondary
#BC985A
accent
#A944E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80