#254AA7#254AA7
#254AA7 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.0% C 0.156 H 264.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #254AA7 |
|---|---|
| RGB | rgb(37, 74, 167) |
| HSL | hsl(223, 64%, 40%) |
| HSV | hsv(223, 78%, 65%) |
| CMYK | cmyk(77.8%, 55.7%, 0%, 34.5%) |
| CIE-LAB | lab(34.15, 21.33, -53.82) |
| CIE-LCH | lch(34.15, 57.89, 291.62°) |
| OKLab | oklab(44% -0.0151 -0.1552) |
| OKLCH | oklch(44% 0.156 264.4) |
| XYZ | xyz(10.1843, 8.0797, 37.5745) |
| Luminance | 0.0808 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.92
Cobalt (survey)
#1E488F
ΔE00 3.69
Sapphire
#0F52BA
ΔE00 3.72
Dusk Blue
#26538D
ΔE00 5.41
Blue Blue
#2242C7
ΔE00 5.50
Sapphire (survey)
#2138AB
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254AA7 #A78225
analogous
#258BA7 #254AA7 #4125A7
triadic
#254AA7 #A7254A #4AA725
tetradic
#254AA7 #A7258B #A78225 #25A741
square
#254AA7 #A7258B #A78225 #25A741
split-complementary
#254AA7 #A74125 #8BA725
monochromatic
#0F1E43 #1A3475 #254AA7 #3763D3 #698ADE
Accessibility & contrast
On white
8.03
#254AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#254AA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254AA7
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254AA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254AA7 | 1.00 | 8.03 | 2.62 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#004BA5
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #254aa7; /* rgb */ color: rgb(37, 74, 167); /* oklch */ color: oklch(44.0% 0.156 264.4);
Tailwind
colors: {
custom: {
50: '#747cc2',
500: '#254aa7',
950: '#000000',
},
}SCSS
$custom: #254aa7; $custom-light: #747cc2; $custom-dark: #000000;
JSON
{
"hex": "#254aa7",
"rgb": {
"r": 37,
"g": 74,
"b": 167
},
"hsl": {
"h": 222.923,
"s": 63.725,
"l": 40
},
"oklch": {
"l": 0.43998,
"c": 0.15596,
"h": 264.4
},
"luminance": 0.08081
}Semantic roles & 50–950 ramp
primary
#254AA7
secondary
#C4A864
accent
#B841E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090912
muted
#7B7B81