#2545AA#2545AA
#2545AA is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.2% C 0.166 H 266.1°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2545AA |
|---|---|
| RGB | rgb(37, 69, 170) |
| HSL | hsl(226, 64%, 41%) |
| HSV | hsv(226, 78%, 67%) |
| CMYK | cmyk(78.2%, 59.4%, 0%, 33.3%) |
| CIE-LAB | lab(33.03, 25.84, -57.44) |
| CIE-LCH | lch(33.03, 62.98, 294.22°) |
| OKLab | oklab(43.23% -0.0114 -0.1659) |
| OKLCH | oklch(43.23% 0.166 266.1) |
| XYZ | xyz(10.1442, 7.5507, 38.9452) |
| Luminance | 0.0755 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.52
Sapphire (survey)
#2138AB
ΔE00 4.12
Blue Blue
#2242C7
ΔE00 4.24
Cobalt (survey)
#1E488F
ΔE00 4.80
Sapphire
#0F52BA
ΔE00 5.06
Blueberry
#464196
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2545AA #AA8A25
analogous
#2587AA #2545AA #4725AA
triadic
#2545AA #AA2545 #45AA25
tetradic
#2545AA #AA2587 #AA8A25 #25AA47
square
#2545AA #AA2587 #AA8A25 #25AA47
split-complementary
#2545AA #AA4725 #87AA25
monochromatic
#0F1C45 #1A3178 #2545AA #385ED4 #6B87DF
Accessibility & contrast
On white
8.37
#2545AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#2545AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2545AA
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2545AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2545AA | 1.00 | 8.37 | 2.51 | 8.37 |
| #FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#0048A8
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2545aa; /* rgb */ color: rgb(37, 69, 170); /* oklch */ color: oklch(43.2% 0.166 266.1);
Tailwind
colors: {
custom: {
50: '#7578c4',
500: '#2545aa',
950: '#000000',
},
}SCSS
$custom: #2545aa; $custom-light: #7578c4; $custom-dark: #000000;
JSON
{
"hex": "#2545aa",
"rgb": {
"r": 37,
"g": 69,
"b": 170
},
"hsl": {
"h": 225.564,
"s": 64.251,
"l": 40.588
},
"oklch": {
"l": 0.43232,
"c": 0.16632,
"h": 266.1
},
"luminance": 0.07552
}Semantic roles & 50–950 ramp
primary
#2545AA
secondary
#C5AE66
accent
#BF41E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82