#254AAB#254AAB
#254AAB is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.3% C 0.161 H 264.7°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #254AAB |
|---|---|
| RGB | rgb(37, 74, 171) |
| HSL | hsl(223, 64%, 41%) |
| HSV | hsv(223, 78%, 67%) |
| CMYK | cmyk(78.4%, 56.7%, 0%, 32.9%) |
| CIE-LAB | lab(34.46, 22.88, -55.71) |
| CIE-LCH | lch(34.46, 60.22, 292.33°) |
| OKLab | oklab(44.33% -0.0149 -0.1608) |
| OKLCH | oklch(44.33% 0.161 264.7) |
| XYZ | xyz(10.5598, 8.2299, 39.5522) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.01
Sapphire
#0F52BA
ΔE00 3.54
Cobalt (survey)
#1E488F
ΔE00 4.26
Blue Blue
#2242C7
ΔE00 4.97
Sapphire (survey)
#2138AB
ΔE00 5.80
Dusk Blue
#26538D
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254AAB #AB8625
analogous
#258DAB #254AAB #4325AB
triadic
#254AAB #AB254A #4AAB25
tetradic
#254AAB #AB258D #AB8625 #25AB43
square
#254AAB #AB258D #AB8625 #25AB43
split-complementary
#254AAB #AB4325 #8DAB25
monochromatic
#0F1E46 #1A3479 #254AAB #3964D4 #6B8BDF
Accessibility & contrast
On white
7.94
#254AAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#254AAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254AAB
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254AAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254AAB | 1.00 | 7.94 | 2.65 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#006273
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #254aab; /* rgb */ color: rgb(37, 74, 171); /* oklch */ color: oklch(44.3% 0.161 264.7);
Tailwind
colors: {
custom: {
50: '#757cc5',
500: '#254aab',
950: '#000000',
},
}SCSS
$custom: #254aab; $custom-light: #757cc5; $custom-dark: #000000;
JSON
{
"hex": "#254aab",
"rgb": {
"r": 37,
"g": 74,
"b": 171
},
"hsl": {
"h": 223.433,
"s": 64.423,
"l": 40.784
},
"oklch": {
"l": 0.44328,
"c": 0.16146,
"h": 264.7
},
"luminance": 0.08231
}Semantic roles & 50–950 ramp
primary
#254AAB
secondary
#C5AB67
accent
#B940E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82