#254ABA#254ABA
#254ABA is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.6% C 0.182 H 265.5°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #254ABA |
|---|---|
| RGB | rgb(37, 74, 186) |
| HSL | hsl(225, 67%, 44%) |
| HSV | hsv(225, 80%, 73%) |
| CMYK | cmyk(80.1%, 60.2%, 0%, 27.1%) |
| CIE-LAB | lab(35.66, 28.64, -62.62) |
| CIE-LCH | lch(35.66, 68.86, 294.58°) |
| OKLab | oklab(45.61% -0.0142 -0.1811) |
| OKLCH | oklch(45.61% 0.182 265.5) |
| XYZ | xyz(12.0715, 8.8346, 47.5139) |
| Luminance | 0.0884 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.21
Cobalt
#0047AB
ΔE00 3.34
Sapphire
#0F52BA
ΔE00 3.59
Blue (survey)
#0343DF
ΔE00 5.04
Sapphire (survey)
#2138AB
ΔE00 5.68
Cobalt (survey)
#1E488F
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254ABA #BA9525
analogous
#2594BA #254ABA #4B25BA
triadic
#254ABA #BA254A #4ABA25
tetradic
#254ABA #BA2594 #BA9525 #25BA4B
square
#254ABA #BA2594 #BA9525 #25BA4B
split-complementary
#254ABA #BA4B25 #94BA25
monochromatic
#112154 #1B3687 #254ABA #4368DA #7691E4
Accessibility & contrast
On white
7.59
#254ABA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#254ABA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254ABA
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254ABA | 1.00 | 7.59 | 2.77 | 7.59 |
| #FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #254aba; /* rgb */ color: rgb(37, 74, 186); /* oklch */ color: oklch(45.6% 0.182 265.5);
Tailwind
colors: {
custom: {
50: '#797cd0',
500: '#254aba',
950: '#000000',
},
}SCSS
$custom: #254aba; $custom-light: #797cd0; $custom-dark: #000000;
JSON
{
"hex": "#254aba",
"rgb": {
"r": 37,
"g": 74,
"b": 186
},
"hsl": {
"h": 225.101,
"s": 66.816,
"l": 43.725
},
"oklch": {
"l": 0.45609,
"c": 0.18163,
"h": 265.5
},
"luminance": 0.08836
}Semantic roles & 50–950 ramp
primary
#254ABA
secondary
#CBB470
accent
#BF3EEA
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82