#2545AE#2545AE
#2545AE is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.6% C 0.172 H 266.2°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2545AE |
|---|---|
| RGB | rgb(37, 69, 174) |
| HSL | hsl(226, 65%, 41%) |
| HSV | hsv(226, 79%, 68%) |
| CMYK | cmyk(78.7%, 60.3%, 0%, 31.8%) |
| CIE-LAB | lab(33.36, 27.37, -59.28) |
| CIE-LCH | lch(33.36, 65.30, 294.78°) |
| OKLab | oklab(43.58% -0.0114 -0.1713) |
| OKLCH | oklch(43.58% 0.172 266.2) |
| XYZ | xyz(10.5284, 7.7043, 40.9684) |
| Luminance | 0.0771 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.75
Blue Blue
#2242C7
ΔE00 3.67
Sapphire (survey)
#2138AB
ΔE00 4.00
Sapphire
#0F52BA
ΔE00 5.00
Cobalt (survey)
#1E488F
ΔE00 5.32
Blueberry
#464196
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2545AE #AE8E25
analogous
#258AAE #2545AE #4925AE
triadic
#2545AE #AE2545 #45AE25
tetradic
#2545AE #AE258A #AE8E25 #25AE49
square
#2545AE #AE258A #AE8E25 #25AE49
split-complementary
#2545AE #AE4925 #8AAE25
monochromatic
#101D49 #1A317C #2545AE #3B5FD5 #6D88E0
Accessibility & contrast
On white
8.26
#2545AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2545AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2545AE
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2545AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2545AE | 1.00 | 8.26 | 2.54 | 8.26 |
| #FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B1
Deuteranopia (green-blind)
#0048AC
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2545ae; /* rgb */ color: rgb(37, 69, 174); /* oklch */ color: oklch(43.6% 0.172 266.2);
Tailwind
colors: {
custom: {
50: '#7678c7',
500: '#2545ae',
950: '#000000',
},
}SCSS
$custom: #2545ae; $custom-light: #7678c7; $custom-dark: #000000;
JSON
{
"hex": "#2545ae",
"rgb": {
"r": 37,
"g": 69,
"b": 174
},
"hsl": {
"h": 225.985,
"s": 64.929,
"l": 41.373
},
"oklch": {
"l": 0.43581,
"c": 0.17173,
"h": 266.2
},
"luminance": 0.07706
}Semantic roles & 50–950 ramp
primary
#2545AE
secondary
#C6B068
accent
#C140E8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82