#254AB4#254AB4
#254AB4 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.1% C 0.174 H 265.2°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #254AB4 |
|---|---|
| RGB | rgb(37, 74, 180) |
| HSL | hsl(224, 66%, 43%) |
| HSV | hsv(224, 79%, 71%) |
| CMYK | cmyk(79.4%, 58.9%, 0%, 29.4%) |
| CIE-LAB | lab(35.17, 26.35, -59.89) |
| CIE-LCH | lch(35.17, 65.43, 293.75°) |
| OKLab | oklab(45.09% -0.0144 -0.173) |
| OKLCH | oklch(45.09% 0.174 265.2) |
| XYZ | xyz(11.4470, 8.5848, 44.2249) |
| Luminance | 0.0859 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.69
Sapphire
#0F52BA
ΔE00 3.43
Blue Blue
#2242C7
ΔE00 3.85
Cobalt (survey)
#1E488F
ΔE00 5.52
Sapphire (survey)
#2138AB
ΔE00 5.61
Blue (survey)
#0343DF
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254AB4 #B48F25
analogous
#2591B4 #254AB4 #4825B4
triadic
#254AB4 #B4254A #4AB425
tetradic
#254AB4 #B42591 #B48F25 #25B448
square
#254AB4 #B42591 #B48F25 #25B448
split-complementary
#254AB4 #B44825 #91B425
monochromatic
#10204E #1B3581 #254AB4 #3F66D7 #718FE2
Accessibility & contrast
On white
7.73
#254AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#254AB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254AB4
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254AB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254AB4 | 1.00 | 7.73 | 2.72 | 7.73 |
| #FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#004CB2
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #254ab4; /* rgb */ color: rgb(37, 74, 180); /* oklch */ color: oklch(45.1% 0.174 265.2);
Tailwind
colors: {
custom: {
50: '#777ccb',
500: '#254ab4',
950: '#000000',
},
}SCSS
$custom: #254ab4; $custom-light: #777ccb; $custom-dark: #000000;
JSON
{
"hex": "#254ab4",
"rgb": {
"r": 37,
"g": 74,
"b": 180
},
"hsl": {
"h": 224.476,
"s": 65.899,
"l": 42.549
},
"oklch": {
"l": 0.45089,
"c": 0.17364,
"h": 265.2
},
"luminance": 0.08586
}Semantic roles & 50–950 ramp
primary
#254AB4
secondary
#C9B16C
accent
#BD3FE9
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82