#2546C4#2546C4
#2546C4 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.8% C 0.199 H 266.5°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2546C4 |
|---|---|
| RGB | rgb(37, 70, 196) |
| HSL | hsl(228, 68%, 46%) |
| HSV | hsv(228, 81%, 77%) |
| CMYK | cmyk(81.1%, 64.3%, 0%, 23.1%) |
| CIE-LAB | lab(35.51, 35.00, -68.73) |
| CIE-LCH | lch(35.51, 77.13, 296.99°) |
| OKLab | oklab(45.76% -0.0121 -0.199) |
| OKLCH | oklch(45.76% 0.199 266.5) |
| XYZ | xyz(12.9134, 8.7576, 53.2236) |
| Luminance | 0.0876 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 1.26
Blue (survey)
#0343DF
ΔE00 3.30
Cobalt
#0047AB
ΔE00 4.86
Sapphire (survey)
#2138AB
ΔE00 5.10
Sapphire
#0F52BA
ΔE00 5.31
Ocean Blue
#4F42B5
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2546C4 #C4A325
analogous
#2595C4 #2546C4 #5325C4
triadic
#2546C4 #C42546 #46C425
tetradic
#2546C4 #C42595 #C4A325 #25C453
square
#2546C4 #C42595 #C4A325 #25C453
split-complementary
#2546C4 #C45325 #95C425
monochromatic
#12215D #1B3491 #2546C4 #4968DD #7D93E6
Accessibility & contrast
On white
7.63
#2546C4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#2546C4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2546C4
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2546C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2546C4 | 1.00 | 7.63 | 2.75 | 7.63 |
| #FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC8
Deuteranopia (green-blind)
#004CC2
Tritanopia (blue-blind)
#00687E
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2546c4; /* rgb */ color: rgb(37, 70, 196); /* oklch */ color: oklch(45.8% 0.199 266.5);
Tailwind
colors: {
custom: {
50: '#7b79d7',
500: '#2546c4',
950: '#000000',
},
}SCSS
$custom: #2546c4; $custom-light: #7b79d7; $custom-dark: #000000;
JSON
{
"hex": "#2546c4",
"rgb": {
"r": 37,
"g": 70,
"b": 196
},
"hsl": {
"h": 227.547,
"s": 68.24,
"l": 45.686
},
"oklch": {
"l": 0.45763,
"c": 0.19938,
"h": 266.5
},
"luminance": 0.08759
}Semantic roles & 50–950 ramp
primary
#2546C4
secondary
#CFBC76
accent
#C73DEB
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0915
muted
#7C7B83