#254CA7#254CA7
#254CA7 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.4% C 0.153 H 263.8°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #254CA7 |
|---|---|
| RGB | rgb(37, 76, 167) |
| HSL | hsl(222, 64%, 40%) |
| HSV | hsv(222, 78%, 65%) |
| CMYK | cmyk(77.8%, 54.5%, 0%, 34.5%) |
| CIE-LAB | lab(34.70, 19.98, -52.92) |
| CIE-LCH | lch(34.70, 56.57, 290.69°) |
| OKLab | oklab(44.42% -0.0166 -0.1525) |
| OKLCH | oklch(44.42% 0.153 263.8) |
| XYZ | xyz(10.3200, 8.3510, 37.6197) |
| Luminance | 0.0835 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.13
Sapphire
#0F52BA
ΔE00 3.21
Cobalt (survey)
#1E488F
ΔE00 3.62
Dusk Blue
#26538D
ΔE00 4.87
Denim Blue
#3B5B92
ΔE00 5.86
Blue Blue
#2242C7
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254CA7 #A78025
analogous
#258DA7 #254CA7 #3F25A7
triadic
#254CA7 #A7254C #4CA725
tetradic
#254CA7 #A7258D #A78025 #25A73F
square
#254CA7 #A7258D #A78025 #25A73F
split-complementary
#254CA7 #A73F25 #8DA725
monochromatic
#0F1E43 #1A3575 #254CA7 #3765D3 #698CDE
Accessibility & contrast
On white
7.86
#254CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#254CA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254CA7
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254CA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254CA7 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AA
Deuteranopia (green-blind)
#004CA5
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #254ca7; /* rgb */ color: rgb(37, 76, 167); /* oklch */ color: oklch(44.4% 0.153 263.8);
Tailwind
colors: {
custom: {
50: '#747dc2',
500: '#254ca7',
950: '#000000',
},
}SCSS
$custom: #254ca7; $custom-light: #747dc2; $custom-dark: #000000;
JSON
{
"hex": "#254ca7",
"rgb": {
"r": 37,
"g": 76,
"b": 167
},
"hsl": {
"h": 222,
"s": 63.725,
"l": 40
},
"oklch": {
"l": 0.44418,
"c": 0.15344,
"h": 263.8
},
"luminance": 0.08352
}Semantic roles & 50–950 ramp
primary
#254CA7
secondary
#C4A764
accent
#B541E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090912
muted
#7B7B81