#2546BA#2546BA
#2546BA is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.8% C 0.186 H 266.3°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2546BA |
|---|---|
| RGB | rgb(37, 70, 186) |
| HSL | hsl(227, 67%, 44%) |
| HSV | hsv(227, 80%, 73%) |
| CMYK | cmyk(80.1%, 62.4%, 0%, 27.1%) |
| CIE-LAB | lab(34.64, 31.27, -64.31) |
| CIE-LCH | lch(34.64, 71.50, 295.93°) |
| OKLab | oklab(44.85% -0.0119 -0.186) |
| OKLCH | oklch(44.85% 0.186 266.3) |
| XYZ | xyz(11.8129, 8.3174, 47.4277) |
| Luminance | 0.0832 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.21
Cobalt
#0047AB
ΔE00 3.71
Sapphire (survey)
#2138AB
ΔE00 4.48
Blue (survey)
#0343DF
ΔE00 4.62
Sapphire
#0F52BA
ΔE00 4.84
Ocean Blue
#4F42B5
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2546BA #BA9925
analogous
#2590BA #2546BA #4E25BA
triadic
#2546BA #BA2546 #46BA25
tetradic
#2546BA #BA2590 #BA9925 #25BA4E
square
#2546BA #BA2590 #BA9925 #25BA4E
split-complementary
#2546BA #BA4E25 #90BA25
monochromatic
#112054 #1B3387 #2546BA #4364DA #768EE4
Accessibility & contrast
On white
7.88
#2546BA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#2546BA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2546BA
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2546BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2546BA | 1.00 | 7.88 | 2.66 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#004BB8
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2546ba; /* rgb */ color: rgb(37, 70, 186); /* oklch */ color: oklch(44.8% 0.186 266.3);
Tailwind
colors: {
custom: {
50: '#7979d0',
500: '#2546ba',
950: '#000000',
},
}SCSS
$custom: #2546ba; $custom-light: #7979d0; $custom-dark: #000000;
JSON
{
"hex": "#2546ba",
"rgb": {
"r": 37,
"g": 70,
"b": 186
},
"hsl": {
"h": 226.711,
"s": 66.816,
"l": 43.725
},
"oklch": {
"l": 0.44845,
"c": 0.18643,
"h": 266.3
},
"luminance": 0.08319
}Semantic roles & 50–950 ramp
primary
#2546BA
secondary
#CBB770
accent
#C43EEA
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82