#254E98#254E98
#254E98 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.7% C 0.130 H 261.1°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #254E98 |
|---|---|
| RGB | rgb(37, 78, 152) |
| HSL | hsl(219, 61%, 37%) |
| HSV | hsv(219, 76%, 60%) |
| CMYK | cmyk(75.7%, 48.7%, 0%, 40.4%) |
| CIE-LAB | lab(34.21, 12.77, -44.70) |
| CIE-LCH | lch(34.21, 46.49, 285.94°) |
| OKLab | oklab(43.7% -0.0201 -0.1283) |
| OKLCH | oklch(43.7% 0.13 261.1) |
| XYZ | xyz(9.1528, 8.1081, 30.7823) |
| Luminance | 0.0811 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.15
Dusk Blue
#26538D
ΔE00 2.71
Cobalt
#0047AB
ΔE00 3.54
Sapphire
#0F52BA
ΔE00 4.36
Light Navy
#155084
ΔE00 4.51
Denim Blue
#3B5B92
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254E98 #986F25
analogous
#258898 #254E98 #362598
triadic
#254E98 #98254E #4E9825
tetradic
#254E98 #982588 #986F25 #259836
square
#254E98 #982588 #986F25 #259836
split-complementary
#254E98 #983625 #889825
monochromatic
#0D1B36 #193567 #254E98 #3167C9 #5F8AD8
Accessibility & contrast
On white
8.01
#254E98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#254E98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254E98
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254E98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254E98 | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25569B
Deuteranopia (green-blind)
#034B97
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #254e98; /* rgb */ color: rgb(37, 78, 152); /* oklch */ color: oklch(43.7% 0.130 261.1);
Tailwind
colors: {
custom: {
50: '#707fb7',
500: '#254e98',
950: '#000000',
},
}SCSS
$custom: #254e98; $custom-light: #707fb7; $custom-dark: #000000;
JSON
{
"hex": "#254e98",
"rgb": {
"r": 37,
"g": 78,
"b": 152
},
"hsl": {
"h": 218.609,
"s": 60.847,
"l": 37.059
},
"oklch": {
"l": 0.43699,
"c": 0.12988,
"h": 261.1
},
"luminance": 0.08109
}Semantic roles & 50–950 ramp
primary
#254E98
secondary
#BD9A5C
accent
#AB44E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80