#2545AD#2545AD
#2545AD is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.5% C 0.170 H 266.2°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2545AD |
|---|---|
| RGB | rgb(37, 69, 173) |
| HSL | hsl(226, 65%, 41%) |
| HSV | hsv(226, 79%, 68%) |
| CMYK | cmyk(78.6%, 60.1%, 0%, 32.2%) |
| CIE-LAB | lab(33.28, 26.99, -58.82) |
| CIE-LCH | lch(33.28, 64.72, 294.65°) |
| OKLab | oklab(43.49% -0.0114 -0.17) |
| OKLCH | oklch(43.49% 0.17 266.2) |
| XYZ | xyz(10.4312, 7.6655, 40.4569) |
| Luminance | 0.0767 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.68
Blue Blue
#2242C7
ΔE00 3.81
Sapphire (survey)
#2138AB
ΔE00 4.02
Sapphire
#0F52BA
ΔE00 5.01
Cobalt (survey)
#1E488F
ΔE00 5.19
Blueberry
#464196
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2545AD #AD8D25
analogous
#2589AD #2545AD #4925AD
triadic
#2545AD #AD2545 #45AD25
tetradic
#2545AD #AD2589 #AD8D25 #25AD49
square
#2545AD #AD2589 #AD8D25 #25AD49
split-complementary
#2545AD #AD4925 #89AD25
monochromatic
#0F1D48 #1A317B #2545AD #3A5FD5 #6D88E0
Accessibility & contrast
On white
8.29
#2545AD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#2545AD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2545AD
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2545AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2545AD | 1.00 | 8.29 | 2.53 | 8.29 |
| #FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#0048AB
Tritanopia (blue-blind)
#005F72
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2545ad; /* rgb */ color: rgb(37, 69, 173); /* oklch */ color: oklch(43.5% 0.170 266.2);
Tailwind
colors: {
custom: {
50: '#7678c6',
500: '#2545ad',
950: '#000000',
},
}SCSS
$custom: #2545ad; $custom-light: #7678c6; $custom-dark: #000000;
JSON
{
"hex": "#2545ad",
"rgb": {
"r": 37,
"g": 69,
"b": 173
},
"hsl": {
"h": 225.882,
"s": 64.762,
"l": 41.176
},
"oklch": {
"l": 0.43494,
"c": 0.17038,
"h": 266.2
},
"luminance": 0.07667
}Semantic roles & 50–950 ramp
primary
#2545AD
secondary
#C6B068
accent
#C040E8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82