#254CA8#254CA8
#254CA8 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.5% C 0.155 H 263.9°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #254CA8 |
|---|---|
| RGB | rgb(37, 76, 168) |
| HSL | hsl(222, 64%, 40%) |
| HSV | hsv(222, 78%, 66%) |
| CMYK | cmyk(78%, 54.8%, 0%, 34.1%) |
| CIE-LAB | lab(34.78, 20.37, -53.40) |
| CIE-LCH | lch(34.78, 57.15, 290.88°) |
| OKLab | oklab(44.5% -0.0165 -0.1539) |
| OKLCH | oklch(44.5% 0.155 263.9) |
| XYZ | xyz(10.4128, 8.3882, 38.1085) |
| Luminance | 0.0839 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.12
Sapphire
#0F52BA
ΔE00 3.15
Cobalt (survey)
#1E488F
ΔE00 3.76
Dusk Blue
#26538D
ΔE00 4.98
Blue Blue
#2242C7
ΔE00 5.82
Denim Blue
#3B5B92
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254CA8 #A88125
analogous
#258EA8 #254CA8 #3F25A8
triadic
#254CA8 #A8254C #4CA825
tetradic
#254CA8 #A8258E #A88125 #25A83F
square
#254CA8 #A8258E #A88125 #25A83F
split-complementary
#254CA8 #A83F25 #8EA825
monochromatic
#0F1F44 #1A3576 #254CA8 #3766D3 #698CDE
Accessibility & contrast
On white
7.84
#254CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#254CA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254CA8
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254CA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254CA8 | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#004CA6
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #254ca8; /* rgb */ color: rgb(37, 76, 168); /* oklch */ color: oklch(44.5% 0.155 263.9);
Tailwind
colors: {
custom: {
50: '#747dc3',
500: '#254ca8',
950: '#000000',
},
}SCSS
$custom: #254ca8; $custom-light: #747dc3; $custom-dark: #000000;
JSON
{
"hex": "#254ca8",
"rgb": {
"r": 37,
"g": 76,
"b": 168
},
"hsl": {
"h": 222.137,
"s": 63.902,
"l": 40.196
},
"oklch": {
"l": 0.44499,
"c": 0.15483,
"h": 263.9
},
"luminance": 0.08389
}Semantic roles & 50–950 ramp
primary
#254CA8
secondary
#C4A865
accent
#B541E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090912
muted
#7B7B81