#2546B2#2546B2
#2546B2 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.1% C 0.176 H 266.1°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2546B2 |
|---|---|
| RGB | rgb(37, 70, 178) |
| HSL | hsl(226, 66%, 42%) |
| HSV | hsv(226, 79%, 70%) |
| CMYK | cmyk(79.2%, 60.7%, 0%, 30.2%) |
| CIE-LAB | lab(33.96, 28.24, -60.69) |
| CIE-LCH | lch(33.96, 66.94, 294.95°) |
| OKLab | oklab(44.13% -0.0119 -0.1754) |
| OKLCH | oklch(44.13% 0.176 266.1) |
| XYZ | xyz(10.9862, 7.9867, 43.0734) |
| Luminance | 0.0799 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.89
Blue Blue
#2242C7
ΔE00 3.25
Sapphire (survey)
#2138AB
ΔE00 4.30
Sapphire
#0F52BA
ΔE00 4.68
Cobalt (survey)
#1E488F
ΔE00 5.69
Blue (survey)
#0343DF
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2546B2 #B29125
analogous
#258DB2 #2546B2 #4A25B2
triadic
#2546B2 #B22546 #46B225
tetradic
#2546B2 #B2258D #B29125 #25B24A
square
#2546B2 #B2258D #B29125 #25B24A
split-complementary
#2546B2 #B24A25 #8DB225
monochromatic
#101E4D #1A327F #2546B2 #3D61D7 #708BE1
Accessibility & contrast
On white
8.08
#2546B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#2546B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2546B2
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2546B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2546B2 | 1.00 | 8.08 | 2.60 | 8.08 |
| #FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2546b2; /* rgb */ color: rgb(37, 70, 178); /* oklch */ color: oklch(44.1% 0.176 266.1);
Tailwind
colors: {
custom: {
50: '#7779ca',
500: '#2546b2',
950: '#000000',
},
}SCSS
$custom: #2546b2; $custom-light: #7779ca; $custom-dark: #000000;
JSON
{
"hex": "#2546b2",
"rgb": {
"r": 37,
"g": 70,
"b": 178
},
"hsl": {
"h": 225.957,
"s": 65.581,
"l": 42.157
},
"oklch": {
"l": 0.44129,
"c": 0.17585,
"h": 266.1
},
"luminance": 0.07988
}Semantic roles & 50–950 ramp
primary
#2546B2
secondary
#C8B26B
accent
#C13FE9
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82