#254CBA#254CBA
#254CBA is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.0% C 0.179 H 265.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #254CBA |
|---|---|
| RGB | rgb(37, 76, 186) |
| HSL | hsl(224, 67%, 44%) |
| HSV | hsv(224, 80%, 73%) |
| CMYK | cmyk(80.1%, 59.1%, 0%, 27.1%) |
| CIE-LAB | lab(36.19, 27.32, -61.77) |
| CIE-LCH | lch(36.19, 67.54, 293.86°) |
| OKLab | oklab(46% -0.0155 -0.1785) |
| OKLCH | oklch(46% 0.179 265) |
| XYZ | xyz(12.2072, 9.1059, 47.5591) |
| Luminance | 0.0911 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.98
Cobalt
#0047AB
ΔE00 3.34
Blue Blue
#2242C7
ΔE00 3.79
Blue (survey)
#0343DF
ΔE00 5.36
Cobalt (survey)
#1E488F
ΔE00 6.24
Sapphire (survey)
#2138AB
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254CBA #BA9325
analogous
#2596BA #254CBA #4825BA
triadic
#254CBA #BA254C #4CBA25
tetradic
#254CBA #BA2596 #BA9325 #25BA48
square
#254CBA #BA2596 #BA9325 #25BA48
split-complementary
#254CBA #BA4825 #96BA25
monochromatic
#112254 #1B3787 #254CBA #436ADA #7692E4
Accessibility & contrast
On white
7.44
#254CBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#254CBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254CBA
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254CBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254CBA | 1.00 | 7.44 | 2.82 | 7.44 |
| #FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #254cba; /* rgb */ color: rgb(37, 76, 186); /* oklch */ color: oklch(46.0% 0.179 265.0);
Tailwind
colors: {
custom: {
50: '#787dd0',
500: '#254cba',
950: '#000000',
},
}SCSS
$custom: #254cba; $custom-light: #787dd0; $custom-dark: #000000;
JSON
{
"hex": "#254cba",
"rgb": {
"r": 37,
"g": 76,
"b": 186
},
"hsl": {
"h": 224.295,
"s": 66.816,
"l": 43.725
},
"oklch": {
"l": 0.46,
"c": 0.17921,
"h": 265
},
"luminance": 0.09107
}Semantic roles & 50–950 ramp
primary
#254CBA
secondary
#CBB370
accent
#BD3EEA
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82