#2F52BC#2F52BC
#2F52BC is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.8% C 0.172 H 266.1°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2F52BC |
|---|---|
| RGB | rgb(47, 82, 188) |
| HSL | hsl(225, 60%, 46%) |
| HSV | hsv(225, 75%, 74%) |
| CMYK | cmyk(75%, 56.4%, 0%, 26.3%) |
| CIE-LAB | lab(38.32, 25.21, -59.45) |
| CIE-LCH | lch(38.32, 64.58, 292.98°) |
| OKLab | oklab(47.76% -0.0117 -0.1715) |
| OKLCH | oklch(47.76% 0.172 266.1) |
| XYZ | xyz(13.2635, 10.2683, 48.8502) |
| Luminance | 0.1027 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.58
Cobalt
#0047AB
ΔE00 4.76
Blue Blue
#2242C7
ΔE00 5.23
Warm Blue
#4B57DB
ΔE00 6.01
Blue (survey)
#0343DF
ΔE00 6.17
Denim
#1560BD
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F52BC #BC992F
analogous
#2F98BC #2F52BC #522FBC
triadic
#2F52BC #BC2F52 #52BC2F
tetradic
#2F52BC #BC2F98 #BC992F #2FBC52
square
#2F52BC #BC2F98 #BC992F #2FBC52
split-complementary
#2F52BC #BC522F #98BC2F
monochromatic
#17275A #233D8B #2F52BC #5474D4 #859CE0
Accessibility & contrast
On white
6.88
#2F52BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#2F52BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F52BC
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F52BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F52BC | 1.00 | 6.88 | 3.05 | 6.88 |
| #FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2f52bc; /* rgb */ color: rgb(47, 82, 188); /* oklch */ color: oklch(47.8% 0.172 266.1);
Tailwind
colors: {
custom: {
50: '#7c82d1',
500: '#2f52bc',
950: '#000000',
},
}SCSS
$custom: #2f52bc; $custom-light: #7c82d1; $custom-dark: #000000;
JSON
{
"hex": "#2f52bc",
"rgb": {
"r": 47,
"g": 82,
"b": 188
},
"hsl": {
"h": 225.106,
"s": 60,
"l": 46.078
},
"oklch": {
"l": 0.47757,
"c": 0.17187,
"h": 266.1
},
"luminance": 0.1027
}Semantic roles & 50–950 ramp
primary
#2F52BC
secondary
#CAB77D
accent
#BC45E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82