#2547B3#2547B3
#2547B3 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.176 H 265.9°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2547B3 |
|---|---|
| RGB | rgb(37, 71, 179) |
| HSL | hsl(226, 66%, 42%) |
| HSV | hsv(226, 79%, 70%) |
| CMYK | cmyk(79.3%, 60.3%, 0%, 29.8%) |
| CIE-LAB | lab(34.30, 27.95, -60.72) |
| CIE-LCH | lch(34.30, 66.84, 294.72°) |
| OKLab | oklab(44.41% -0.0125 -0.1755) |
| OKLCH | oklch(44.41% 0.176 265.9) |
| XYZ | xyz(11.1500, 8.1532, 43.6252) |
| Luminance | 0.0815 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.83
Blue Blue
#2242C7
ΔE00 3.30
Sapphire
#0F52BA
ΔE00 4.37
Sapphire (survey)
#2138AB
ΔE00 4.62
Blue (survey)
#0343DF
ΔE00 5.65
Cobalt (survey)
#1E488F
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2547B3 #B39125
analogous
#258EB3 #2547B3 #4A25B3
triadic
#2547B3 #B32547 #47B325
tetradic
#2547B3 #B3258E #B39125 #25B34A
square
#2547B3 #B3258E #B39125 #25B34A
split-complementary
#2547B3 #B34A25 #8EB325
monochromatic
#101F4E #1B3380 #2547B3 #3E63D7 #718CE2
Accessibility & contrast
On white
7.98
#2547B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#2547B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2547B3
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2547B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2547B3 | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#004AB1
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2547b3; /* rgb */ color: rgb(37, 71, 179); /* oklch */ color: oklch(44.4% 0.176 265.9);
Tailwind
colors: {
custom: {
50: '#7779cb',
500: '#2547b3',
950: '#000000',
},
}SCSS
$custom: #2547b3; $custom-light: #7779cb; $custom-dark: #000000;
JSON
{
"hex": "#2547b3",
"rgb": {
"r": 37,
"g": 71,
"b": 179
},
"hsl": {
"h": 225.634,
"s": 65.741,
"l": 42.353
},
"oklch": {
"l": 0.44412,
"c": 0.17598,
"h": 265.9
},
"luminance": 0.08154
}Semantic roles & 50–950 ramp
primary
#2547B3
secondary
#C8B26B
accent
#C03FE9
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82