#2546AB#2546AB
#2546AB is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.5% C 0.166 H 265.8°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2546AB |
|---|---|
| RGB | rgb(37, 70, 171) |
| HSL | hsl(225, 64%, 41%) |
| HSV | hsv(225, 78%, 67%) |
| CMYK | cmyk(78.4%, 59.1%, 0%, 32.9%) |
| CIE-LAB | lab(33.38, 25.56, -57.47) |
| CIE-LCH | lch(33.38, 62.89, 293.98°) |
| OKLab | oklab(43.52% -0.0121 -0.166) |
| OKLCH | oklch(43.52% 0.166 265.8) |
| XYZ | xyz(10.3012, 7.7127, 39.4660) |
| Luminance | 0.0771 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.37
Blue Blue
#2242C7
ΔE00 4.23
Sapphire (survey)
#2138AB
ΔE00 4.42
Sapphire
#0F52BA
ΔE00 4.73
Cobalt (survey)
#1E488F
ΔE00 4.75
Blueberry
#464196
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2546AB #AB8A25
analogous
#2589AB #2546AB #4725AB
triadic
#2546AB #AB2546 #46AB25
tetradic
#2546AB #AB2589 #AB8A25 #25AB47
square
#2546AB #AB2589 #AB8A25 #25AB47
split-complementary
#2546AB #AB4725 #89AB25
monochromatic
#0F1D46 #1A3179 #2546AB #395FD4 #6B88DF
Accessibility & contrast
On white
8.26
#2546AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2546AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2546AB
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2546AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2546AB | 1.00 | 8.26 | 2.54 | 8.26 |
| #FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2546ab; /* rgb */ color: rgb(37, 70, 171); /* oklch */ color: oklch(43.5% 0.166 265.8);
Tailwind
colors: {
custom: {
50: '#7579c5',
500: '#2546ab',
950: '#000000',
},
}SCSS
$custom: #2546ab; $custom-light: #7579c5; $custom-dark: #000000;
JSON
{
"hex": "#2546ab",
"rgb": {
"r": 37,
"g": 70,
"b": 171
},
"hsl": {
"h": 225.224,
"s": 64.423,
"l": 40.784
},
"oklch": {
"l": 0.43518,
"c": 0.16644,
"h": 265.8
},
"luminance": 0.07714
}Semantic roles & 50–950 ramp
primary
#2546AB
secondary
#C5AE67
accent
#BE40E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82