#254199#254199
#254199 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.148 H 266.4°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #254199 |
|---|---|
| RGB | rgb(37, 65, 153) |
| HSL | hsl(226, 61%, 37%) |
| HSV | hsv(226, 76%, 60%) |
| CMYK | cmyk(75.8%, 57.5%, 0%, 40%) |
| CIE-LAB | lab(30.58, 21.97, -51.18) |
| CIE-LCH | lch(30.58, 55.70, 293.23°) |
| OKLab | oklab(40.97% -0.0092 -0.1476) |
| OKLCH | oklch(40.97% 0.148 266.4) |
| XYZ | xyz(8.4010, 6.4729, 30.9375) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.65
Cobalt (survey)
#1E488F
ΔE00 3.82
Sapphire (survey)
#2138AB
ΔE00 4.29
Blueberry
#464196
ΔE00 5.35
Darkish Blue
#014182
ΔE00 5.44
Blue Blue
#2242C7
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254199 #997D25
analogous
#257B99 #254199 #432599
triadic
#254199 #992541 #419925
tetradic
#254199 #99257B #997D25 #259943
square
#254199 #99257B #997D25 #259943
split-complementary
#254199 #994325 #7B9925
monochromatic
#0D1736 #192C68 #254199 #3156CA #607DD9
Accessibility & contrast
On white
9.15
#254199 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#254199 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254199
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254199 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254199 | 1.00 | 9.15 | 2.29 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #254199; /* rgb */ color: rgb(37, 65, 153); /* oklch */ color: oklch(41.0% 0.148 266.4);
Tailwind
colors: {
custom: {
50: '#7175b8',
500: '#254199',
950: '#000000',
},
}SCSS
$custom: #254199; $custom-light: #7175b8; $custom-dark: #000000;
JSON
{
"hex": "#254199",
"rgb": {
"r": 37,
"g": 65,
"b": 153
},
"hsl": {
"h": 225.517,
"s": 61.053,
"l": 37.255
},
"oklch": {
"l": 0.40965,
"c": 0.1479,
"h": 266.4
},
"luminance": 0.06474
}Semantic roles & 50–950 ramp
primary
#254199
secondary
#BEA65C
accent
#BD44E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80