#2F52C3#2F52C3
#2F52C3 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.3% C 0.181 H 266.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2F52C3 |
|---|---|
| RGB | rgb(47, 82, 195) |
| HSL | hsl(226, 61%, 47%) |
| HSV | hsv(226, 76%, 76%) |
| CMYK | cmyk(75.9%, 57.9%, 0%, 23.5%) |
| CIE-LAB | lab(38.86, 27.82, -62.66) |
| CIE-LCH | lch(38.86, 68.56, 293.94°) |
| OKLab | oklab(48.33% -0.0114 -0.1809) |
| OKLCH | oklch(48.33% 0.181 266.4) |
| XYZ | xyz(14.0365, 10.5775, 52.9211) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.15
Blue Blue
#2242C7
ΔE00 4.92
Warm Blue
#4B57DB
ΔE00 5.18
Cobalt
#0047AB
ΔE00 5.40
Blue (survey)
#0343DF
ΔE00 5.50
Azul
#1D5DEC
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F52C3 #C3A02F
analogous
#2F9CC3 #2F52C3 #562FC3
triadic
#2F52C3 #C32F52 #52C32F
tetradic
#2F52C3 #C32F9C #C3A02F #2FC356
square
#2F52C3 #C32F9C #C3A02F #2FC356
split-complementary
#2F52C3 #C3562F #9CC32F
monochromatic
#172960 #233D92 #2F52C3 #5876D7 #8A9FE3
Accessibility & contrast
On white
6.74
#2F52C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#2F52C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F52C3
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F52C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F52C3 | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C7
Deuteranopia (green-blind)
#0055C1
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2f52c3; /* rgb */ color: rgb(47, 82, 195); /* oklch */ color: oklch(48.3% 0.181 266.4);
Tailwind
colors: {
custom: {
50: '#7d82d6',
500: '#2f52c3',
950: '#000000',
},
}SCSS
$custom: #2f52c3; $custom-light: #7d82d6; $custom-dark: #000000;
JSON
{
"hex": "#2f52c3",
"rgb": {
"r": 47,
"g": 82,
"b": 195
},
"hsl": {
"h": 225.811,
"s": 61.157,
"l": 47.451
},
"oklch": {
"l": 0.48331,
"c": 0.18126,
"h": 266.4
},
"luminance": 0.10579
}Semantic roles & 50–950 ramp
primary
#2F52C3
secondary
#CDBB81
accent
#BE44E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83