#254DAE#254DAE
#254DAE is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.2% C 0.162 H 264.0°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #254DAE |
|---|---|
| RGB | rgb(37, 77, 174) |
| HSL | hsl(222, 65%, 41%) |
| HSV | hsv(222, 79%, 68%) |
| CMYK | cmyk(78.7%, 55.7%, 0%, 31.8%) |
| CIE-LAB | lab(35.51, 22.04, -55.78) |
| CIE-LCH | lch(35.51, 59.98, 291.56°) |
| OKLab | oklab(45.2% -0.0168 -0.1609) |
| OKLCH | oklch(45.2% 0.162 264) |
| XYZ | xyz(11.0541, 8.7558, 41.1436) |
| Luminance | 0.0876 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.42
Sapphire
#0F52BA
ΔE00 2.58
Cobalt (survey)
#1E488F
ΔE00 4.58
Blue Blue
#2242C7
ΔE00 5.33
Dusk Blue
#26538D
ΔE00 5.43
Denim Blue
#3B5B92
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254DAE #AE8625
analogous
#2592AE #254DAE #4225AE
triadic
#254DAE #AE254D #4DAE25
tetradic
#254DAE #AE2592 #AE8625 #25AE42
square
#254DAE #AE2592 #AE8625 #25AE42
split-complementary
#254DAE #AE4225 #92AE25
monochromatic
#102049 #1A377C #254DAE #3B68D5 #6D8FE0
Accessibility & contrast
On white
7.63
#254DAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#254DAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254DAE
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254DAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254DAE | 1.00 | 7.63 | 2.75 | 7.63 |
| #FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #254dae; /* rgb */ color: rgb(37, 77, 174); /* oklch */ color: oklch(45.2% 0.162 264.0);
Tailwind
colors: {
custom: {
50: '#757ec7',
500: '#254dae',
950: '#000000',
},
}SCSS
$custom: #254dae; $custom-light: #757ec7; $custom-dark: #000000;
JSON
{
"hex": "#254dae",
"rgb": {
"r": 37,
"g": 77,
"b": 174
},
"hsl": {
"h": 222.482,
"s": 64.929,
"l": 41.373
},
"oklch": {
"l": 0.45195,
"c": 0.1618,
"h": 264
},
"luminance": 0.08757
}Semantic roles & 50–950 ramp
primary
#254DAE
secondary
#C6AB68
accent
#B740E8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82