#254AAA#254AAA
#254AAA is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.2% C 0.160 H 264.6°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #254AAA |
|---|---|
| RGB | rgb(37, 74, 170) |
| HSL | hsl(223, 64%, 41%) |
| HSV | hsv(223, 78%, 67%) |
| CMYK | cmyk(78.2%, 56.5%, 0%, 33.3%) |
| CIE-LAB | lab(34.38, 22.49, -55.24) |
| CIE-LCH | lch(34.38, 59.64, 292.16°) |
| OKLab | oklab(44.25% -0.0149 -0.1594) |
| OKLCH | oklch(44.25% 0.16 264.6) |
| XYZ | xyz(10.4649, 8.1920, 39.0521) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.97
Sapphire
#0F52BA
ΔE00 3.57
Cobalt (survey)
#1E488F
ΔE00 4.12
Blue Blue
#2242C7
ΔE00 5.11
Dusk Blue
#26538D
ΔE00 5.72
Sapphire (survey)
#2138AB
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254AAA #AA8525
analogous
#258CAA #254AAA #4225AA
triadic
#254AAA #AA254A #4AAA25
tetradic
#254AAA #AA258C #AA8525 #25AA42
square
#254AAA #AA258C #AA8525 #25AA42
split-complementary
#254AAA #AA4225 #8CAA25
monochromatic
#0F1E45 #1A3478 #254AAA #3864D4 #6B8BDF
Accessibility & contrast
On white
7.96
#254AAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#254AAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254AAA
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254AAA | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#004BA8
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #254aaa; /* rgb */ color: rgb(37, 74, 170); /* oklch */ color: oklch(44.2% 0.160 264.6);
Tailwind
colors: {
custom: {
50: '#757cc4',
500: '#254aaa',
950: '#000000',
},
}SCSS
$custom: #254aaa; $custom-light: #757cc4; $custom-dark: #000000;
JSON
{
"hex": "#254aaa",
"rgb": {
"r": 37,
"g": 74,
"b": 170
},
"hsl": {
"h": 223.308,
"s": 64.251,
"l": 40.588
},
"oklch": {
"l": 0.44245,
"c": 0.16009,
"h": 264.6
},
"luminance": 0.08193
}Semantic roles & 50–950 ramp
primary
#254AAA
secondary
#C5AA66
accent
#B941E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82