#254BBA#254BBA
#254BBA is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.8% C 0.180 H 265.3°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #254BBA |
|---|---|
| RGB | rgb(37, 75, 186) |
| HSL | hsl(225, 67%, 44%) |
| HSV | hsv(225, 80%, 73%) |
| CMYK | cmyk(80.1%, 59.7%, 0%, 27.1%) |
| CIE-LAB | lab(35.92, 27.98, -62.20) |
| CIE-LCH | lch(35.92, 68.20, 294.22°) |
| OKLab | oklab(45.8% -0.0149 -0.1798) |
| OKLCH | oklch(45.8% 0.18 265.3) |
| XYZ | xyz(12.1388, 8.9692, 47.5363) |
| Luminance | 0.0897 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.28
Cobalt
#0047AB
ΔE00 3.32
Blue Blue
#2242C7
ΔE00 3.50
Blue (survey)
#0343DF
ΔE00 5.19
Sapphire (survey)
#2138AB
ΔE00 5.99
Cobalt (survey)
#1E488F
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254BBA #BA9425
analogous
#2595BA #254BBA #4925BA
triadic
#254BBA #BA254B #4BBA25
tetradic
#254BBA #BA2595 #BA9425 #25BA49
square
#254BBA #BA2595 #BA9425 #25BA49
split-complementary
#254BBA #BA4925 #95BA25
monochromatic
#112254 #1B3687 #254BBA #4369DA #7692E4
Accessibility & contrast
On white
7.52
#254BBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#254BBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254BBA
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254BBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254BBA | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #254bba; /* rgb */ color: rgb(37, 75, 186); /* oklch */ color: oklch(45.8% 0.180 265.3);
Tailwind
colors: {
custom: {
50: '#787cd0',
500: '#254bba',
950: '#000000',
},
}SCSS
$custom: #254bba; $custom-light: #787cd0; $custom-dark: #000000;
JSON
{
"hex": "#254bba",
"rgb": {
"r": 37,
"g": 75,
"b": 186
},
"hsl": {
"h": 224.698,
"s": 66.816,
"l": 43.725
},
"oklch": {
"l": 0.45804,
"c": 0.18042,
"h": 265.3
},
"luminance": 0.08971
}Semantic roles & 50–950 ramp
primary
#254BBA
secondary
#CBB470
accent
#BE3EEA
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82