#254BAA#254BAA
#254BAA is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.5% C 0.159 H 264.3°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #254BAA |
|---|---|
| RGB | rgb(37, 75, 170) |
| HSL | hsl(223, 64%, 41%) |
| HSV | hsv(223, 78%, 67%) |
| CMYK | cmyk(78.2%, 55.9%, 0%, 33.3%) |
| CIE-LAB | lab(34.65, 21.82, -54.79) |
| CIE-LCH | lch(34.65, 58.98, 291.72°) |
| OKLab | oklab(44.45% -0.0156 -0.1581) |
| OKLCH | oklch(44.45% 0.159 264.3) |
| XYZ | xyz(10.5321, 8.3265, 39.0745) |
| Luminance | 0.0833 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.03
Sapphire
#0F52BA
ΔE00 3.29
Cobalt (survey)
#1E488F
ΔE00 4.06
Blue Blue
#2242C7
ΔE00 5.33
Dusk Blue
#26538D
ΔE00 5.46
Sapphire (survey)
#2138AB
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254BAA #AA8425
analogous
#258DAA #254BAA #4125AA
triadic
#254BAA #AA254B #4BAA25
tetradic
#254BAA #AA258D #AA8425 #25AA41
square
#254BAA #AA258D #AA8425 #25AA41
split-complementary
#254BAA #AA4125 #8DAA25
monochromatic
#0F1F45 #1A3578 #254BAA #3865D4 #6B8CDF
Accessibility & contrast
On white
7.88
#254BAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#254BAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254BAA
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254BAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254BAA | 1.00 | 7.88 | 2.67 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#004CA8
Tritanopia (blue-blind)
#006273
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #254baa; /* rgb */ color: rgb(37, 75, 170); /* oklch */ color: oklch(44.5% 0.159 264.3);
Tailwind
colors: {
custom: {
50: '#757cc4',
500: '#254baa',
950: '#000000',
},
}SCSS
$custom: #254baa; $custom-light: #757cc4; $custom-dark: #000000;
JSON
{
"hex": "#254baa",
"rgb": {
"r": 37,
"g": 75,
"b": 170
},
"hsl": {
"h": 222.857,
"s": 64.251,
"l": 40.588
},
"oklch": {
"l": 0.44452,
"c": 0.15883,
"h": 264.3
},
"luminance": 0.08328
}Semantic roles & 50–950 ramp
primary
#254BAA
secondary
#C5AA66
accent
#B841E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82