#2F52AC#2F52AC
#2F52AC is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.5% C 0.150 H 265.1°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2F52AC |
|---|---|
| RGB | rgb(47, 82, 172) |
| HSL | hsl(223, 57%, 43%) |
| HSV | hsv(223, 73%, 67%) |
| CMYK | cmyk(72.7%, 52.3%, 0%, 32.5%) |
| CIE-LAB | lab(37.14, 19.18, -51.93) |
| CIE-LCH | lch(37.14, 55.35, 290.27°) |
| OKLab | oklab(46.5% -0.0129 -0.1493) |
| OKLCH | oklch(46.5% 0.15 265.1) |
| XYZ | xyz(11.6334, 9.6163, 40.2647) |
| Luminance | 0.0962 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.50
Cobalt
#0047AB
ΔE00 3.94
Denim Blue
#3B5B92
ΔE00 4.73
Dusk Blue
#26538D
ΔE00 4.95
Cobalt (survey)
#1E488F
ΔE00 5.12
Dusky Blue
#475F94
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F52AC #AC892F
analogous
#2F90AC #2F52AC #4A2FAC
triadic
#2F52AC #AC2F52 #52AC2F
tetradic
#2F52AC #AC2F90 #AC892F #2FAC4A
square
#2F52AC #AC2F90 #AC892F #2FAC4A
split-complementary
#2F52AC #AC4A2F #90AC2F
monochromatic
#15244C #223B7C #2F52AC #4B6FCE #7B96DB
Accessibility & contrast
On white
7.18
#2F52AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#2F52AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F52AC
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F52AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F52AC | 1.00 | 7.18 | 2.92 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#175DAF
Deuteranopia (green-blind)
#0052AA
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2f52ac; /* rgb */ color: rgb(47, 82, 172); /* oklch */ color: oklch(46.5% 0.150 265.1);
Tailwind
colors: {
custom: {
50: '#7882c5',
500: '#2f52ac',
950: '#000000',
},
}SCSS
$custom: #2f52ac; $custom-light: #7882c5; $custom-dark: #000000;
JSON
{
"hex": "#2f52ac",
"rgb": {
"r": 47,
"g": 82,
"b": 172
},
"hsl": {
"h": 223.2,
"s": 57.078,
"l": 42.941
},
"oklch": {
"l": 0.46497,
"c": 0.14989,
"h": 265.1
},
"luminance": 0.09617
}Semantic roles & 50–950 ramp
primary
#2F52AC
secondary
#C3AD74
accent
#B647E0
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82