#2546A7#2546A7
#2546A7 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.2% C 0.161 H 265.6°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2546A7 |
|---|---|
| RGB | rgb(37, 70, 167) |
| HSL | hsl(225, 64%, 40%) |
| HSV | hsv(225, 78%, 65%) |
| CMYK | cmyk(77.8%, 58.1%, 0%, 34.5%) |
| CIE-LAB | lab(33.05, 24.01, -55.60) |
| CIE-LCH | lch(33.05, 60.56, 293.36°) |
| OKLab | oklab(43.18% -0.0122 -0.1605) |
| OKLCH | oklch(43.18% 0.161 265.6) |
| XYZ | xyz(9.9257, 7.5625, 37.4883) |
| Luminance | 0.0756 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.22
Cobalt (survey)
#1E488F
ΔE00 4.21
Sapphire (survey)
#2138AB
ΔE00 4.60
Blue Blue
#2242C7
ΔE00 4.80
Sapphire
#0F52BA
ΔE00 4.85
Blueberry
#464196
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2546A7 #A78625
analogous
#2587A7 #2546A7 #4525A7
triadic
#2546A7 #A72546 #46A725
tetradic
#2546A7 #A72587 #A78625 #25A745
square
#2546A7 #A72587 #A78625 #25A745
split-complementary
#2546A7 #A74525 #87A725
monochromatic
#0F1C43 #1A3175 #2546A7 #375ED3 #6986DE
Accessibility & contrast
On white
8.36
#2546A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#2546A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2546A7
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2546A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2546A7 | 1.00 | 8.36 | 2.51 | 8.36 |
| #FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#0048A5
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2546a7; /* rgb */ color: rgb(37, 70, 167); /* oklch */ color: oklch(43.2% 0.161 265.6);
Tailwind
colors: {
custom: {
50: '#7479c2',
500: '#2546a7',
950: '#000000',
},
}SCSS
$custom: #2546a7; $custom-light: #7479c2; $custom-dark: #000000;
JSON
{
"hex": "#2546a7",
"rgb": {
"r": 37,
"g": 70,
"b": 167
},
"hsl": {
"h": 224.769,
"s": 63.725,
"l": 40
},
"oklch": {
"l": 0.43175,
"c": 0.16099,
"h": 265.6
},
"luminance": 0.07564
}Semantic roles & 50–950 ramp
primary
#2546A7
secondary
#C4AB64
accent
#BD41E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81