#254B98#254B98
#254B98 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.0% C 0.134 H 262.5°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #254B98 |
|---|---|
| RGB | rgb(37, 75, 152) |
| HSL | hsl(220, 61%, 37%) |
| HSV | hsv(220, 76%, 60%) |
| CMYK | cmyk(75.7%, 50.7%, 0%, 40.4%) |
| CIE-LAB | lab(33.33, 14.79, -46.11) |
| CIE-LCH | lch(33.33, 48.42, 287.78°) |
| OKLab | oklab(43.03% -0.0175 -0.1325) |
| OKLCH | oklch(43.03% 0.134 262.5) |
| XYZ | xyz(8.9445, 7.6915, 30.7129) |
| Luminance | 0.0769 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.65
Cobalt
#0047AB
ΔE00 3.03
Dusk Blue
#26538D
ΔE00 3.69
Sapphire
#0F52BA
ΔE00 4.75
Darkish Blue
#014182
ΔE00 4.77
Light Navy
#155084
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254B98 #987225
analogous
#258598 #254B98 #392598
triadic
#254B98 #98254B #4B9825
tetradic
#254B98 #982585 #987225 #259839
square
#254B98 #982585 #987225 #259839
split-complementary
#254B98 #983925 #859825
monochromatic
#0D1A36 #193367 #254B98 #3163C9 #5F87D8
Accessibility & contrast
On white
8.27
#254B98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#254B98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254B98
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254B98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254B98 | 1.00 | 8.27 | 2.54 | 8.27 |
| #FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D549B
Deuteranopia (green-blind)
#004996
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #254b98; /* rgb */ color: rgb(37, 75, 152); /* oklch */ color: oklch(43.0% 0.134 262.5);
Tailwind
colors: {
custom: {
50: '#707cb7',
500: '#254b98',
950: '#000000',
},
}SCSS
$custom: #254b98; $custom-light: #707cb7; $custom-dark: #000000;
JSON
{
"hex": "#254b98",
"rgb": {
"r": 37,
"g": 75,
"b": 152
},
"hsl": {
"h": 220.174,
"s": 60.847,
"l": 37.059
},
"oklch": {
"l": 0.43029,
"c": 0.13367,
"h": 262.5
},
"luminance": 0.07692
}Semantic roles & 50–950 ramp
primary
#254B98
secondary
#BD9D5C
accent
#AF44E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80