#254099#254099
#254099 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.149 H 266.7°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #254099 |
|---|---|
| RGB | rgb(37, 64, 153) |
| HSL | hsl(226, 61%, 37%) |
| HSV | hsv(226, 76%, 60%) |
| CMYK | cmyk(75.8%, 58.2%, 0%, 40%) |
| CIE-LAB | lab(30.30, 22.65, -51.63) |
| CIE-LCH | lch(30.30, 56.38, 293.69°) |
| OKLab | oklab(40.76% -0.0085 -0.1489) |
| OKLCH | oklch(40.76% 0.149 266.7) |
| XYZ | xyz(8.3441, 6.3591, 30.9185) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.89
Sapphire (survey)
#2138AB
ΔE00 4.02
Cobalt (survey)
#1E488F
ΔE00 4.14
Blueberry
#464196
ΔE00 5.22
Darkish Blue
#014182
ΔE00 5.62
Blue Blue
#2242C7
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254099 #997E25
analogous
#257A99 #254099 #442599
triadic
#254099 #992540 #409925
tetradic
#254099 #99257A #997E25 #259944
square
#254099 #99257A #997E25 #259944
split-complementary
#254099 #994425 #7A9925
monochromatic
#0D1736 #192B68 #254099 #3155CA #607CD9
Accessibility & contrast
On white
9.24
#254099 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#254099 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254099
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254099 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254099 | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #254099; /* rgb */ color: rgb(37, 64, 153); /* oklch */ color: oklch(40.8% 0.149 266.7);
Tailwind
colors: {
custom: {
50: '#7174b8',
500: '#254099',
950: '#000000',
},
}SCSS
$custom: #254099; $custom-light: #7174b8; $custom-dark: #000000;
JSON
{
"hex": "#254099",
"rgb": {
"r": 37,
"g": 64,
"b": 153
},
"hsl": {
"h": 226.034,
"s": 61.053,
"l": 37.255
},
"oklch": {
"l": 0.40759,
"c": 0.14918,
"h": 266.7
},
"luminance": 0.0636
}Semantic roles & 50–950 ramp
primary
#254099
secondary
#BEA75C
accent
#BF44E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80