#254FAE#254FAE
#254FAE is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.6% C 0.159 H 263.4°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #254FAE |
|---|---|
| RGB | rgb(37, 79, 174) |
| HSL | hsl(222, 65%, 41%) |
| HSV | hsv(222, 79%, 68%) |
| CMYK | cmyk(78.7%, 54.6%, 0%, 31.8%) |
| CIE-LAB | lab(36.06, 20.70, -54.89) |
| CIE-LCH | lch(36.06, 58.66, 290.66°) |
| OKLab | oklab(45.61% -0.0182 -0.1583) |
| OKLCH | oklch(45.61% 0.159 263.4) |
| XYZ | xyz(11.1962, 9.0400, 41.1910) |
| Luminance | 0.0904 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.09
Cobalt
#0047AB
ΔE00 2.81
Cobalt (survey)
#1E488F
ΔE00 4.65
Dusk Blue
#26538D
ΔE00 5.02
Denim Blue
#3B5B92
ΔE00 5.55
Blue Blue
#2242C7
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254FAE #AE8425
analogous
#2594AE #254FAE #4025AE
triadic
#254FAE #AE254F #4FAE25
tetradic
#254FAE #AE2594 #AE8425 #25AE40
square
#254FAE #AE2594 #AE8425 #25AE40
split-complementary
#254FAE #AE4025 #94AE25
monochromatic
#102149 #1A387C #254FAE #3B6AD5 #6D91E0
Accessibility & contrast
On white
7.48
#254FAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#254FAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254FAE
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254FAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254FAE | 1.00 | 7.48 | 2.81 | 7.48 |
| #FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#006676
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #254fae; /* rgb */ color: rgb(37, 79, 174); /* oklch */ color: oklch(45.6% 0.159 263.4);
Tailwind
colors: {
custom: {
50: '#757fc7',
500: '#254fae',
950: '#000000',
},
}SCSS
$custom: #254fae; $custom-light: #757fc7; $custom-dark: #000000;
JSON
{
"hex": "#254fae",
"rgb": {
"r": 37,
"g": 79,
"b": 174
},
"hsl": {
"h": 221.606,
"s": 64.929,
"l": 41.373
},
"oklch": {
"l": 0.45612,
"c": 0.15932,
"h": 263.4
},
"luminance": 0.09041
}Semantic roles & 50–950 ramp
primary
#254FAE
secondary
#C6AA68
accent
#B440E8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82