#2545A3#2545A3
#2545A3 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.157 H 265.7°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2545A3 |
|---|---|
| RGB | rgb(37, 69, 163) |
| HSL | hsl(225, 63%, 39%) |
| HSV | hsv(225, 77%, 64%) |
| CMYK | cmyk(77.3%, 57.7%, 0%, 36.1%) |
| CIE-LAB | lab(32.46, 23.14, -54.16) |
| CIE-LCH | lch(32.46, 58.89, 293.13°) |
| OKLab | oklab(42.63% -0.0117 -0.1563) |
| OKLCH | oklch(42.63% 0.157 265.7) |
| XYZ | xyz(9.4996, 7.2928, 35.5502) |
| Luminance | 0.0729 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.40
Cobalt (survey)
#1E488F
ΔE00 3.88
Sapphire (survey)
#2138AB
ΔE00 4.53
Blue Blue
#2242C7
ΔE00 5.26
Sapphire
#0F52BA
ΔE00 5.30
Blueberry
#464196
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2545A3 #A38325
analogous
#2584A3 #2545A3 #4425A3
triadic
#2545A3 #A32545 #45A325
tetradic
#2545A3 #A32584 #A38325 #25A344
square
#2545A3 #A32584 #A38325 #25A344
split-complementary
#2545A3 #A34425 #84A325
monochromatic
#0E1B3F #1A3071 #2545A3 #345CD1 #6684DC
Accessibility & contrast
On white
8.54
#2545A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#2545A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2545A3
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2545A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2545A3 | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#0047A1
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2545a3; /* rgb */ color: rgb(37, 69, 163); /* oklch */ color: oklch(42.6% 0.157 265.7);
Tailwind
colors: {
custom: {
50: '#7378bf',
500: '#2545a3',
950: '#000000',
},
}SCSS
$custom: #2545a3; $custom-light: #7378bf; $custom-dark: #000000;
JSON
{
"hex": "#2545a3",
"rgb": {
"r": 37,
"g": 69,
"b": 163
},
"hsl": {
"h": 224.762,
"s": 63,
"l": 39.216
},
"oklch": {
"l": 0.42632,
"c": 0.15674,
"h": 265.7
},
"luminance": 0.07294
}Semantic roles & 50–950 ramp
primary
#2545A3
secondary
#C2AA62
accent
#BC42E6
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81