#2547C4#2547C4
#2547C4 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.9% C 0.198 H 266.4°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2547C4 |
|---|---|
| RGB | rgb(37, 71, 196) |
| HSL | hsl(227, 68%, 46%) |
| HSV | hsv(227, 81%, 77%) |
| CMYK | cmyk(81.1%, 63.8%, 0%, 23.1%) |
| CIE-LAB | lab(35.76, 34.36, -68.33) |
| CIE-LCH | lch(35.76, 76.48, 296.70°) |
| OKLab | oklab(45.95% -0.0126 -0.1978) |
| OKLCH | oklch(45.95% 0.198 266.4) |
| XYZ | xyz(12.9765, 8.8838, 53.2447) |
| Luminance | 0.0888 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 1.56
Blue (survey)
#0343DF
ΔE00 3.38
Cobalt
#0047AB
ΔE00 4.76
Sapphire
#0F52BA
ΔE00 5.03
Sapphire (survey)
#2138AB
ΔE00 5.34
Ocean Blue
#4F42B5
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2547C4 #C4A225
analogous
#2596C4 #2547C4 #5325C4
triadic
#2547C4 #C42547 #47C425
tetradic
#2547C4 #C42596 #C4A225 #25C453
square
#2547C4 #C42596 #C4A225 #25C453
split-complementary
#2547C4 #C45325 #96C425
monochromatic
#12225D #1B3491 #2547C4 #4969DD #7D94E6
Accessibility & contrast
On white
7.56
#2547C4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#2547C4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2547C4
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2547C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2547C4 | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC8
Deuteranopia (green-blind)
#004DC2
Tritanopia (blue-blind)
#00687F
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2547c4; /* rgb */ color: rgb(37, 71, 196); /* oklch */ color: oklch(45.9% 0.198 266.4);
Tailwind
colors: {
custom: {
50: '#7b7ad7',
500: '#2547c4',
950: '#000000',
},
}SCSS
$custom: #2547c4; $custom-light: #7b7ad7; $custom-dark: #000000;
JSON
{
"hex": "#2547c4",
"rgb": {
"r": 37,
"g": 71,
"b": 196
},
"hsl": {
"h": 227.17,
"s": 68.24,
"l": 45.686
},
"oklch": {
"l": 0.45945,
"c": 0.19822,
"h": 266.4
},
"luminance": 0.08885
}Semantic roles & 50–950 ramp
primary
#2547C4
secondary
#CFBC76
accent
#C63DEB
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0915
muted
#7C7B83