#2545C6#2545C6
#2545C6 is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 45.8% C 0.203 H 266.7°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2545C6 |
|---|---|
| RGB | rgb(37, 69, 198) |
| HSL | hsl(228, 69%, 46%) |
| HSV | hsv(228, 81%, 78%) |
| CMYK | cmyk(81.3%, 65.2%, 0%, 22.4%) |
| CIE-LAB | lab(35.45, 36.38, -70.00) |
| CIE-LCH | lch(35.45, 78.89, 297.46°) |
| OKLab | oklab(45.77% -0.0116 -0.2027) |
| OKLCH | oklch(45.77% 0.203 266.7) |
| XYZ | xyz(13.0805, 8.7252, 54.4099) |
| Luminance | 0.0873 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 0.88
Blue (survey)
#0343DF
ΔE00 2.98
Sapphire (survey)
#2138AB
ΔE00 5.06
Cobalt
#0047AB
ΔE00 5.22
Ocean Blue
#4F42B5
ΔE00 5.37
Sapphire
#0F52BA
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2545C6 #C6A625
analogous
#2595C6 #2545C6 #5625C6
triadic
#2545C6 #C62545 #45C625
tetradic
#2545C6 #C62595 #C6A625 #25C656
square
#2545C6 #C62595 #C6A625 #25C656
split-complementary
#2545C6 #C65625 #95C625
monochromatic
#12215F #1B3392 #2545C6 #4B68DD #7E93E7
Accessibility & contrast
On white
7.65
#2545C6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#2545C6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2545C6
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2545C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2545C6 | 1.00 | 7.65 | 2.75 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BCA
Deuteranopia (green-blind)
#004CC4
Tritanopia (blue-blind)
#00687F
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2545c6; /* rgb */ color: rgb(37, 69, 198); /* oklch */ color: oklch(45.8% 0.203 266.7);
Tailwind
colors: {
custom: {
50: '#7c78d8',
500: '#2545c6',
950: '#000000',
},
}SCSS
$custom: #2545c6; $custom-light: #7c78d8; $custom-dark: #000000;
JSON
{
"hex": "#2545c6",
"rgb": {
"r": 37,
"g": 69,
"b": 198
},
"hsl": {
"h": 228.075,
"s": 68.511,
"l": 46.078
},
"oklch": {
"l": 0.45771,
"c": 0.20307,
"h": 266.7
},
"luminance": 0.08727
}Semantic roles & 50–950 ramp
primary
#2545C6
secondary
#CFBE77
accent
#C93CEB
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0B0915
muted
#7C7B83