#254CAA#254CAA
#254CAA is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.7% C 0.158 H 264.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #254CAA |
|---|---|
| RGB | rgb(37, 76, 170) |
| HSL | hsl(222, 64%, 41%) |
| HSV | hsv(222, 78%, 67%) |
| CMYK | cmyk(78.2%, 55.3%, 0%, 33.3%) |
| CIE-LAB | lab(34.93, 21.15, -54.34) |
| CIE-LCH | lch(34.93, 58.32, 291.27°) |
| OKLab | oklab(44.66% -0.0164 -0.1567) |
| OKLCH | oklch(44.66% 0.158 264) |
| XYZ | xyz(10.6005, 8.4633, 39.0973) |
| Luminance | 0.0846 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.14
Sapphire
#0F52BA
ΔE00 3.03
Cobalt (survey)
#1E488F
ΔE00 4.03
Dusk Blue
#26538D
ΔE00 5.21
Blue Blue
#2242C7
ΔE00 5.56
Denim Blue
#3B5B92
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254CAA #AA8325
analogous
#258EAA #254CAA #4025AA
triadic
#254CAA #AA254C #4CAA25
tetradic
#254CAA #AA258E #AA8325 #25AA40
square
#254CAA #AA258E #AA8325 #25AA40
split-complementary
#254CAA #AA4025 #8EAA25
monochromatic
#0F1F45 #1A3678 #254CAA #3866D4 #6B8DDF
Accessibility & contrast
On white
7.80
#254CAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#254CAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254CAA
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254CAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254CAA | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#004CA8
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #254caa; /* rgb */ color: rgb(37, 76, 170); /* oklch */ color: oklch(44.7% 0.158 264.0);
Tailwind
colors: {
custom: {
50: '#747dc4',
500: '#254caa',
950: '#000000',
},
}SCSS
$custom: #254caa; $custom-light: #747dc4; $custom-dark: #000000;
JSON
{
"hex": "#254caa",
"rgb": {
"r": 37,
"g": 76,
"b": 170
},
"hsl": {
"h": 222.406,
"s": 64.251,
"l": 40.588
},
"oklch": {
"l": 0.44661,
"c": 0.15757,
"h": 264
},
"luminance": 0.08464
}Semantic roles & 50–950 ramp
primary
#254CAA
secondary
#C5A966
accent
#B641E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82