#2543B2#2543B2
#2543B2 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.6% C 0.179 H 266.8°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2543B2 |
|---|---|
| RGB | rgb(37, 67, 178) |
| HSL | hsl(227, 66%, 42%) |
| HSV | hsv(227, 79%, 70%) |
| CMYK | cmyk(79.2%, 62.4%, 0%, 30.2%) |
| CIE-LAB | lab(33.18, 30.22, -61.96) |
| CIE-LCH | lch(33.18, 68.93, 296.00°) |
| OKLab | oklab(43.55% -0.0101 -0.1792) |
| OKLCH | oklch(43.55% 0.179 266.8) |
| XYZ | xyz(10.8032, 7.6207, 43.0124) |
| Luminance | 0.0762 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.89
Sapphire (survey)
#2138AB
ΔE00 3.35
Cobalt
#0047AB
ΔE00 3.50
Blue (survey)
#0343DF
ΔE00 5.60
Sapphire
#0F52BA
ΔE00 5.63
Ocean Blue
#4F42B5
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2543B2 #B29425
analogous
#258AB2 #2543B2 #4E25B2
triadic
#2543B2 #B22543 #43B225
tetradic
#2543B2 #B2258A #B29425 #25B24E
square
#2543B2 #B2258A #B29425 #25B24E
split-complementary
#2543B2 #B24E25 #8AB225
monochromatic
#101D4D #1A307F #2543B2 #3D5ED7 #7088E1
Accessibility & contrast
On white
8.32
#2543B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#2543B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2543B2
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2543B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2543B2 | 1.00 | 8.32 | 2.52 | 8.32 |
| #FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0048B0
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2543b2; /* rgb */ color: rgb(37, 67, 178); /* oklch */ color: oklch(43.6% 0.179 266.8);
Tailwind
colors: {
custom: {
50: '#7776ca',
500: '#2543b2',
950: '#000000',
},
}SCSS
$custom: #2543b2; $custom-light: #7776ca; $custom-dark: #000000;
JSON
{
"hex": "#2543b2",
"rgb": {
"r": 37,
"g": 67,
"b": 178
},
"hsl": {
"h": 227.234,
"s": 65.581,
"l": 42.157
},
"oklch": {
"l": 0.43553,
"c": 0.17949,
"h": 266.8
},
"luminance": 0.07622
}Semantic roles & 50–950 ramp
primary
#2543B2
secondary
#C8B46B
accent
#C53FE9
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82