#2547AA#2547AA
#2547AA is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.164 H 265.5°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2547AA |
|---|---|
| RGB | rgb(37, 71, 170) |
| HSL | hsl(225, 64%, 41%) |
| HSV | hsv(225, 78%, 67%) |
| CMYK | cmyk(78.2%, 58.2%, 0%, 33.3%) |
| CIE-LAB | lab(33.56, 24.50, -56.56) |
| CIE-LCH | lch(33.56, 61.64, 293.42°) |
| OKLab | oklab(43.63% -0.0128 -0.1633) |
| OKLCH | oklch(43.63% 0.164 265.5) |
| XYZ | xyz(10.2693, 7.8009, 38.9869) |
| Luminance | 0.0780 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.16
Sapphire
#0F52BA
ΔE00 4.45
Cobalt (survey)
#1E488F
ΔE00 4.46
Blue Blue
#2242C7
ΔE00 4.53
Sapphire (survey)
#2138AB
ΔE00 4.80
Blueberry
#464196
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2547AA #AA8825
analogous
#2589AA #2547AA #4625AA
triadic
#2547AA #AA2547 #47AA25
tetradic
#2547AA #AA2589 #AA8825 #25AA46
square
#2547AA #AA2589 #AA8825 #25AA46
split-complementary
#2547AA #AA4625 #89AA25
monochromatic
#0F1D45 #1A3278 #2547AA #3860D4 #6B88DF
Accessibility & contrast
On white
8.20
#2547AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#2547AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2547AA
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2547AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2547AA | 1.00 | 8.20 | 2.56 | 8.20 |
| #FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#0049A8
Tritanopia (blue-blind)
#006071
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2547aa; /* rgb */ color: rgb(37, 71, 170); /* oklch */ color: oklch(43.6% 0.164 265.5);
Tailwind
colors: {
custom: {
50: '#7579c4',
500: '#2547aa',
950: '#000000',
},
}SCSS
$custom: #2547aa; $custom-light: #7579c4; $custom-dark: #000000;
JSON
{
"hex": "#2547aa",
"rgb": {
"r": 37,
"g": 71,
"b": 170
},
"hsl": {
"h": 224.662,
"s": 64.251,
"l": 40.588
},
"oklch": {
"l": 0.43633,
"c": 0.16383,
"h": 265.5
},
"luminance": 0.07802
}Semantic roles & 50–950 ramp
primary
#2547AA
secondary
#C5AD66
accent
#BD41E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82