#2546B3#2546B3
#2546B3 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.2% C 0.177 H 266.1°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2546B3 |
|---|---|
| RGB | rgb(37, 70, 179) |
| HSL | hsl(226, 66%, 42%) |
| HSV | hsv(226, 79%, 70%) |
| CMYK | cmyk(79.3%, 60.9%, 0%, 29.8%) |
| CIE-LAB | lab(34.04, 28.62, -61.14) |
| CIE-LCH | lch(34.04, 67.51, 295.08°) |
| OKLab | oklab(44.22% -0.0119 -0.1768) |
| OKLCH | oklch(44.22% 0.177 266.1) |
| XYZ | xyz(11.0869, 8.0270, 43.6041) |
| Luminance | 0.0803 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.98
Blue Blue
#2242C7
ΔE00 3.12
Sapphire (survey)
#2138AB
ΔE00 4.30
Sapphire
#0F52BA
ΔE00 4.69
Blue (survey)
#0343DF
ΔE00 5.58
Cobalt (survey)
#1E488F
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2546B3 #B39225
analogous
#258DB3 #2546B3 #4B25B3
triadic
#2546B3 #B32546 #46B325
tetradic
#2546B3 #B3258D #B39225 #25B34B
square
#2546B3 #B3258D #B39225 #25B34B
split-complementary
#2546B3 #B34B25 #8DB325
monochromatic
#101E4E #1B3280 #2546B3 #3E62D7 #718BE2
Accessibility & contrast
On white
8.06
#2546B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#2546B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2546B3
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2546B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2546B3 | 1.00 | 8.06 | 2.61 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#004AB1
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2546b3; /* rgb */ color: rgb(37, 70, 179); /* oklch */ color: oklch(44.2% 0.177 266.1);
Tailwind
colors: {
custom: {
50: '#7779cb',
500: '#2546b3',
950: '#000000',
},
}SCSS
$custom: #2546b3; $custom-light: #7779cb; $custom-dark: #000000;
JSON
{
"hex": "#2546b3",
"rgb": {
"r": 37,
"g": 70,
"b": 179
},
"hsl": {
"h": 226.056,
"s": 65.741,
"l": 42.353
},
"oklch": {
"l": 0.44218,
"c": 0.17719,
"h": 266.1
},
"luminance": 0.08028
}Semantic roles & 50–950 ramp
primary
#2546B3
secondary
#C8B36B
accent
#C13FE9
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82