#2545A2#2545A2
#2545A2 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.5% C 0.155 H 265.7°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2545A2 |
|---|---|
| RGB | rgb(37, 69, 162) |
| HSL | hsl(225, 63%, 39%) |
| HSV | hsv(225, 77%, 64%) |
| CMYK | cmyk(77.2%, 57.4%, 0%, 36.5%) |
| CIE-LAB | lab(32.39, 22.75, -53.69) |
| CIE-LCH | lch(32.39, 58.31, 292.97°) |
| OKLab | oklab(42.55% -0.0118 -0.1549) |
| OKLCH | oklch(42.55% 0.155 265.7) |
| XYZ | xyz(9.4104, 7.2571, 35.0802) |
| Luminance | 0.0726 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.42
Cobalt (survey)
#1E488F
ΔE00 3.75
Sapphire (survey)
#2138AB
ΔE00 4.61
Sapphire
#0F52BA
ΔE00 5.35
Blue Blue
#2242C7
ΔE00 5.41
Blueberry
#464196
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2545A2 #A28225
analogous
#2584A2 #2545A2 #4425A2
triadic
#2545A2 #A22545 #45A225
tetradic
#2545A2 #A22584 #A28225 #25A244
square
#2545A2 #A22584 #A28225 #25A244
split-complementary
#2545A2 #A24425 #84A225
monochromatic
#0E1B3E #1A3070 #2545A2 #345CD1 #6584DC
Accessibility & contrast
On white
8.57
#2545A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#2545A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2545A2
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2545A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2545A2 | 1.00 | 8.57 | 2.45 | 8.57 |
| #FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2545a2; /* rgb */ color: rgb(37, 69, 162); /* oklch */ color: oklch(42.5% 0.155 265.7);
Tailwind
colors: {
custom: {
50: '#7378be',
500: '#2545a2',
950: '#000000',
},
}SCSS
$custom: #2545a2; $custom-light: #7378be; $custom-dark: #000000;
JSON
{
"hex": "#2545a2",
"rgb": {
"r": 37,
"g": 69,
"b": 162
},
"hsl": {
"h": 224.64,
"s": 62.814,
"l": 39.02
},
"oklch": {
"l": 0.42548,
"c": 0.15536,
"h": 265.7
},
"luminance": 0.07258
}Semantic roles & 50–950 ramp
primary
#2545A2
secondary
#C2A961
accent
#BC42E6
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81