#2F52C2#2F52C2
#2F52C2 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.2% C 0.180 H 266.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2F52C2 |
|---|---|
| RGB | rgb(47, 82, 194) |
| HSL | hsl(226, 61%, 47%) |
| HSV | hsv(226, 76%, 76%) |
| CMYK | cmyk(75.8%, 57.7%, 0%, 23.9%) |
| CIE-LAB | lab(38.78, 27.45, -62.21) |
| CIE-LCH | lch(38.78, 68.00, 293.81°) |
| OKLab | oklab(48.25% -0.0114 -0.1796) |
| OKLCH | oklch(48.25% 0.18 266.4) |
| XYZ | xyz(13.9238, 10.5324, 52.3276) |
| Luminance | 0.1053 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.05
Blue Blue
#2242C7
ΔE00 4.96
Warm Blue
#4B57DB
ΔE00 5.29
Cobalt
#0047AB
ΔE00 5.30
Blue (survey)
#0343DF
ΔE00 5.59
Azul
#1D5DEC
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F52C2 #C29F2F
analogous
#2F9CC2 #2F52C2 #552FC2
triadic
#2F52C2 #C22F52 #52C22F
tetradic
#2F52C2 #C22F9C #C29F2F #2FC255
square
#2F52C2 #C22F9C #C29F2F #2FC255
split-complementary
#2F52C2 #C2552F #9CC22F
monochromatic
#17285F #233D91 #2F52C2 #5876D6 #899EE2
Accessibility & contrast
On white
6.76
#2F52C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#2F52C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F52C2
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F52C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F52C2 | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#0055C0
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2f52c2; /* rgb */ color: rgb(47, 82, 194); /* oklch */ color: oklch(48.2% 0.180 266.4);
Tailwind
colors: {
custom: {
50: '#7d82d5',
500: '#2f52c2',
950: '#000000',
},
}SCSS
$custom: #2f52c2; $custom-light: #7d82d5; $custom-dark: #000000;
JSON
{
"hex": "#2f52c2",
"rgb": {
"r": 47,
"g": 82,
"b": 194
},
"hsl": {
"h": 225.714,
"s": 60.996,
"l": 47.255
},
"oklch": {
"l": 0.48248,
"c": 0.17992,
"h": 266.4
},
"luminance": 0.10534
}Semantic roles & 50–950 ramp
primary
#2F52C2
secondary
#CCBA81
accent
#BE44E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83