#2547BA#2547BA
#2547BA is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.0% C 0.185 H 266.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2547BA |
|---|---|
| RGB | rgb(37, 71, 186) |
| HSL | hsl(226, 67%, 44%) |
| HSV | hsv(226, 80%, 73%) |
| CMYK | cmyk(80.1%, 61.8%, 0%, 27.1%) |
| CIE-LAB | lab(34.89, 30.61, -63.89) |
| CIE-LCH | lch(34.89, 70.84, 295.60°) |
| OKLab | oklab(45.03% -0.0125 -0.1848) |
| OKLCH | oklch(45.03% 0.185 266.1) |
| XYZ | xyz(11.8760, 8.4436, 47.4487) |
| Luminance | 0.0844 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.43
Cobalt
#0047AB
ΔE00 3.57
Sapphire
#0F52BA
ΔE00 4.53
Blue (survey)
#0343DF
ΔE00 4.69
Sapphire (survey)
#2138AB
ΔE00 4.77
Ocean Blue
#4F42B5
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2547BA #BA9825
analogous
#2591BA #2547BA #4D25BA
triadic
#2547BA #BA2547 #47BA25
tetradic
#2547BA #BA2591 #BA9825 #25BA4D
square
#2547BA #BA2591 #BA9825 #25BA4D
split-complementary
#2547BA #BA4D25 #91BA25
monochromatic
#112054 #1B3487 #2547BA #4365DA #768FE4
Accessibility & contrast
On white
7.81
#2547BA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#2547BA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2547BA
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2547BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2547BA | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#004BB8
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2547ba; /* rgb */ color: rgb(37, 71, 186); /* oklch */ color: oklch(45.0% 0.185 266.1);
Tailwind
colors: {
custom: {
50: '#7979d0',
500: '#2547ba',
950: '#000000',
},
}SCSS
$custom: #2547ba; $custom-light: #7979d0; $custom-dark: #000000;
JSON
{
"hex": "#2547ba",
"rgb": {
"r": 37,
"g": 71,
"b": 186
},
"hsl": {
"h": 226.309,
"s": 66.816,
"l": 43.725
},
"oklch": {
"l": 0.45034,
"c": 0.18524,
"h": 266.1
},
"luminance": 0.08445
}Semantic roles & 50–950 ramp
primary
#2547BA
secondary
#CBB670
accent
#C33EEA
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82