#2F52C4#2F52C4
#2F52C4 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.4% C 0.183 H 266.4°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2F52C4 |
|---|---|
| RGB | rgb(47, 82, 196) |
| HSL | hsl(226, 61%, 48%) |
| HSV | hsv(226, 76%, 77%) |
| CMYK | cmyk(76%, 58.2%, 0%, 23.1%) |
| CIE-LAB | lab(38.94, 28.20, -63.12) |
| CIE-LCH | lch(38.94, 69.13, 294.07°) |
| OKLab | oklab(48.41% -0.0113 -0.1822) |
| OKLCH | oklch(48.41% 0.183 266.4) |
| XYZ | xyz(14.1499, 10.6229, 53.5185) |
| Luminance | 0.1062 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.24
Blue Blue
#2242C7
ΔE00 4.90
Warm Blue
#4B57DB
ΔE00 5.06
Blue (survey)
#0343DF
ΔE00 5.41
Cobalt
#0047AB
ΔE00 5.50
Azul
#1D5DEC
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F52C4 #C4A12F
analogous
#2F9CC4 #2F52C4 #562FC4
triadic
#2F52C4 #C42F52 #52C42F
tetradic
#2F52C4 #C42F9C #C4A12F #2FC456
square
#2F52C4 #C42F9C #C4A12F #2FC456
split-complementary
#2F52C4 #C4562F #9CC42F
monochromatic
#172961 #233D93 #2F52C4 #5977D7 #8A9FE3
Accessibility & contrast
On white
6.72
#2F52C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#2F52C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F52C4
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F52C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F52C4 | 1.00 | 6.72 | 3.12 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C8
Deuteranopia (green-blind)
#0055C2
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2f52c4; /* rgb */ color: rgb(47, 82, 196); /* oklch */ color: oklch(48.4% 0.183 266.4);
Tailwind
colors: {
custom: {
50: '#7e82d7',
500: '#2f52c4',
950: '#000000',
},
}SCSS
$custom: #2f52c4; $custom-light: #7e82d7; $custom-dark: #000000;
JSON
{
"hex": "#2f52c4",
"rgb": {
"r": 47,
"g": 82,
"b": 196
},
"hsl": {
"h": 225.906,
"s": 61.317,
"l": 47.647
},
"oklch": {
"l": 0.48414,
"c": 0.18258,
"h": 266.4
},
"luminance": 0.10624
}Semantic roles & 50–950 ramp
primary
#2F52C4
secondary
#CDBB82
accent
#BF43E4
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0A14
muted
#7C7C83