#254CB5#254CB5
#254CB5 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.173 H 264.8°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #254CB5 |
|---|---|
| RGB | rgb(37, 76, 181) |
| HSL | hsl(224, 66%, 43%) |
| HSV | hsv(224, 80%, 71%) |
| CMYK | cmyk(79.6%, 58%, 0%, 29%) |
| CIE-LAB | lab(35.79, 25.41, -59.48) |
| CIE-LCH | lch(35.79, 64.68, 293.13°) |
| OKLab | oklab(45.57% -0.0157 -0.1718) |
| OKLCH | oklch(45.57% 0.173 264.8) |
| XYZ | xyz(11.6849, 8.8970, 44.8086) |
| Luminance | 0.0890 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.82
Cobalt
#0047AB
ΔE00 2.83
Blue Blue
#2242C7
ΔE00 4.28
Cobalt (survey)
#1E488F
ΔE00 5.55
Blue (survey)
#0343DF
ΔE00 6.00
Sapphire (survey)
#2138AB
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254CB5 #B58E25
analogous
#2594B5 #254CB5 #4625B5
triadic
#254CB5 #B5254C #4CB525
tetradic
#254CB5 #B52594 #B58E25 #25B546
square
#254CB5 #B52594 #B58E25 #25B546
split-complementary
#254CB5 #B54625 #94B525
monochromatic
#10214F #1B3782 #254CB5 #3F69D8 #7291E2
Accessibility & contrast
On white
7.56
#254CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#254CB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254CB5
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254CB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254CB5 | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #254cb5; /* rgb */ color: rgb(37, 76, 181); /* oklch */ color: oklch(45.6% 0.173 264.8);
Tailwind
colors: {
custom: {
50: '#777dcc',
500: '#254cb5',
950: '#000000',
},
}SCSS
$custom: #254cb5; $custom-light: #777dcc; $custom-dark: #000000;
JSON
{
"hex": "#254cb5",
"rgb": {
"r": 37,
"g": 76,
"b": 181
},
"hsl": {
"h": 223.75,
"s": 66.055,
"l": 42.745
},
"oklch": {
"l": 0.45574,
"c": 0.17252,
"h": 264.8
},
"luminance": 0.08898
}Semantic roles & 50–950 ramp
primary
#254CB5
secondary
#C9B06D
accent
#BB3FE9
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82