#2F52AA#2F52AA
#2F52AA is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.3% C 0.147 H 264.9°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2F52AA |
|---|---|
| RGB | rgb(47, 82, 170) |
| HSL | hsl(223, 57%, 43%) |
| HSV | hsv(223, 72%, 67%) |
| CMYK | cmyk(72.4%, 51.8%, 0%, 33.3%) |
| CIE-LAB | lab(37.00, 18.42, -50.97) |
| CIE-LCH | lch(37.00, 54.19, 289.87°) |
| OKLab | oklab(46.35% -0.0131 -0.1465) |
| OKLCH | oklch(46.35% 0.147 264.9) |
| XYZ | xyz(11.4427, 9.5400, 39.2608) |
| Luminance | 0.0954 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.63
Cobalt
#0047AB
ΔE00 3.92
Denim Blue
#3B5B92
ΔE00 4.54
Dusk Blue
#26538D
ΔE00 4.71
Cobalt (survey)
#1E488F
ΔE00 4.90
Dusky Blue
#475F94
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F52AA #AA872F
analogous
#2F8FAA #2F52AA #4A2FAA
triadic
#2F52AA #AA2F52 #52AA2F
tetradic
#2F52AA #AA2F8F #AA872F #2FAA4A
square
#2F52AA #AA2F8F #AA872F #2FAA4A
split-complementary
#2F52AA #AA4A2F #8FAA2F
monochromatic
#14244A #223B7A #2F52AA #496FCD #7995DA
Accessibility & contrast
On white
7.22
#2F52AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#2F52AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F52AA
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F52AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F52AA | 1.00 | 7.22 | 2.91 | 7.22 |
| #FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B5DAD
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2f52aa; /* rgb */ color: rgb(47, 82, 170); /* oklch */ color: oklch(46.3% 0.147 264.9);
Tailwind
colors: {
custom: {
50: '#7882c4',
500: '#2f52aa',
950: '#000000',
},
}SCSS
$custom: #2f52aa; $custom-light: #7882c4; $custom-dark: #000000;
JSON
{
"hex": "#2f52aa",
"rgb": {
"r": 47,
"g": 82,
"b": 170
},
"hsl": {
"h": 222.927,
"s": 56.682,
"l": 42.549
},
"oklch": {
"l": 0.46346,
"c": 0.14709,
"h": 264.9
},
"luminance": 0.09541
}Semantic roles & 50–950 ramp
primary
#2F52AA
secondary
#C2AC72
accent
#B548E0
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82