#2546AA#2546AA
#2546AA is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.165 H 265.8°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2546AA |
|---|---|
| RGB | rgb(37, 70, 170) |
| HSL | hsl(225, 64%, 41%) |
| HSV | hsv(225, 78%, 67%) |
| CMYK | cmyk(78.2%, 58.8%, 0%, 33.3%) |
| CIE-LAB | lab(33.30, 25.17, -57.00) |
| CIE-LCH | lch(33.30, 62.31, 293.83°) |
| OKLab | oklab(43.43% -0.0121 -0.1646) |
| OKLCH | oklch(43.43% 0.165 265.8) |
| XYZ | xyz(10.2063, 7.6747, 38.9659) |
| Luminance | 0.0768 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.32
Blue Blue
#2242C7
ΔE00 4.37
Sapphire (survey)
#2138AB
ΔE00 4.46
Cobalt (survey)
#1E488F
ΔE00 4.62
Sapphire
#0F52BA
ΔE00 4.76
Blueberry
#464196
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2546AA #AA8925
analogous
#2588AA #2546AA #4725AA
triadic
#2546AA #AA2546 #46AA25
tetradic
#2546AA #AA2588 #AA8925 #25AA47
square
#2546AA #AA2588 #AA8925 #25AA47
split-complementary
#2546AA #AA4725 #88AA25
monochromatic
#0F1D45 #1A3178 #2546AA #385FD4 #6B87DF
Accessibility & contrast
On white
8.28
#2546AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2546AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2546AA
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2546AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2546AA | 1.00 | 8.28 | 2.54 | 8.28 |
| #FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#0048A8
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2546aa; /* rgb */ color: rgb(37, 70, 170); /* oklch */ color: oklch(43.4% 0.165 265.8);
Tailwind
colors: {
custom: {
50: '#7579c4',
500: '#2546aa',
950: '#000000',
},
}SCSS
$custom: #2546aa; $custom-light: #7579c4; $custom-dark: #000000;
JSON
{
"hex": "#2546aa",
"rgb": {
"r": 37,
"g": 70,
"b": 170
},
"hsl": {
"h": 225.113,
"s": 64.251,
"l": 40.588
},
"oklch": {
"l": 0.43432,
"c": 0.16508,
"h": 265.8
},
"luminance": 0.07676
}Semantic roles & 50–950 ramp
primary
#2546AA
secondary
#C5AD66
accent
#BE41E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82