#2547B0#2547B0
#2547B0 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.1% C 0.172 H 265.8°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2547B0 |
|---|---|
| RGB | rgb(37, 71, 176) |
| HSL | hsl(225, 65%, 42%) |
| HSV | hsv(225, 79%, 69%) |
| CMYK | cmyk(79%, 59.7%, 0%, 31%) |
| CIE-LAB | lab(34.05, 26.81, -59.34) |
| CIE-LCH | lch(34.05, 65.12, 294.31°) |
| OKLab | oklab(44.15% -0.0126 -0.1715) |
| OKLCH | oklch(44.15% 0.172 265.8) |
| XYZ | xyz(10.8499, 8.0331, 42.0446) |
| Luminance | 0.0803 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.56
Blue Blue
#2242C7
ΔE00 3.70
Sapphire
#0F52BA
ΔE00 4.36
Sapphire (survey)
#2138AB
ΔE00 4.64
Cobalt (survey)
#1E488F
ΔE00 5.28
Blue (survey)
#0343DF
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2547B0 #B08E25
analogous
#258DB0 #2547B0 #4925B0
triadic
#2547B0 #B02547 #47B025
tetradic
#2547B0 #B0258D #B08E25 #25B049
square
#2547B0 #B0258D #B08E25 #25B049
split-complementary
#2547B0 #B04925 #8DB025
monochromatic
#101E4B #1A337D #2547B0 #3C62D6 #6F8BE1
Accessibility & contrast
On white
8.06
#2547B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#2547B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2547B0
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2547B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2547B0 | 1.00 | 8.06 | 2.61 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B4
Deuteranopia (green-blind)
#004AAE
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2547b0; /* rgb */ color: rgb(37, 71, 176); /* oklch */ color: oklch(44.1% 0.172 265.8);
Tailwind
colors: {
custom: {
50: '#7679c8',
500: '#2547b0',
950: '#000000',
},
}SCSS
$custom: #2547b0; $custom-light: #7679c8; $custom-dark: #000000;
JSON
{
"hex": "#2547b0",
"rgb": {
"r": 37,
"g": 71,
"b": 176
},
"hsl": {
"h": 225.324,
"s": 65.258,
"l": 41.765
},
"oklch": {
"l": 0.44149,
"c": 0.17195,
"h": 265.8
},
"luminance": 0.08034
}Semantic roles & 50–950 ramp
primary
#2547B0
secondary
#C7B06A
accent
#BF40E8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82