#2546AC#2546AC
#2546AC is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.168 H 265.9°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2546AC |
|---|---|
| RGB | rgb(37, 70, 172) |
| HSL | hsl(225, 65%, 41%) |
| HSV | hsv(225, 78%, 67%) |
| CMYK | cmyk(78.5%, 59.3%, 0%, 32.5%) |
| CIE-LAB | lab(33.46, 25.94, -57.93) |
| CIE-LCH | lch(33.46, 63.47, 294.12°) |
| OKLab | oklab(43.6% -0.0121 -0.1674) |
| OKLCH | oklch(43.6% 0.168 265.9) |
| XYZ | xyz(10.3969, 7.7510, 39.9699) |
| Luminance | 0.0775 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.43
Blue Blue
#2242C7
ΔE00 4.09
Sapphire (survey)
#2138AB
ΔE00 4.38
Sapphire
#0F52BA
ΔE00 4.72
Cobalt (survey)
#1E488F
ΔE00 4.89
Blueberry
#464196
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2546AC #AC8B25
analogous
#2589AC #2546AC #4725AC
triadic
#2546AC #AC2546 #46AC25
tetradic
#2546AC #AC2589 #AC8B25 #25AC47
square
#2546AC #AC2589 #AC8B25 #25AC47
split-complementary
#2546AC #AC4725 #89AC25
monochromatic
#0F1D47 #1A327A #2546AC #3A60D5 #6C88DF
Accessibility & contrast
On white
8.23
#2546AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#2546AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2546AC
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2546AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2546AC | 1.00 | 8.23 | 2.55 | 8.23 |
| #FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2546ac; /* rgb */ color: rgb(37, 70, 172); /* oklch */ color: oklch(43.6% 0.168 265.9);
Tailwind
colors: {
custom: {
50: '#7579c6',
500: '#2546ac',
950: '#000000',
},
}SCSS
$custom: #2546ac; $custom-light: #7579c6; $custom-dark: #000000;
JSON
{
"hex": "#2546ac",
"rgb": {
"r": 37,
"g": 70,
"b": 172
},
"hsl": {
"h": 225.333,
"s": 64.593,
"l": 40.98
},
"oklch": {
"l": 0.43604,
"c": 0.16779,
"h": 265.9
},
"luminance": 0.07752
}Semantic roles & 50–950 ramp
primary
#2546AC
secondary
#C6AF67
accent
#BF40E8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82