#2F50C4#2F50C4
#2F50C4 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.0% C 0.185 H 266.9°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2F50C4 |
|---|---|
| RGB | rgb(47, 80, 196) |
| HSL | hsl(227, 61%, 48%) |
| HSV | hsv(227, 76%, 77%) |
| CMYK | cmyk(76%, 59.2%, 0%, 23.1%) |
| CIE-LAB | lab(38.42, 29.50, -63.96) |
| CIE-LCH | lch(38.42, 70.43, 294.76°) |
| OKLab | oklab(48.03% -0.01 -0.1847) |
| OKLCH | oklch(48.03% 0.185 266.9) |
| XYZ | xyz(14.0013, 10.3256, 53.4690) |
| Luminance | 0.1033 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.54
Blue Blue
#2242C7
ΔE00 4.24
Blue (survey)
#0343DF
ΔE00 4.91
Warm Blue
#4B57DB
ΔE00 5.15
Cobalt
#0047AB
ΔE00 5.30
Azul
#1D5DEC
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F50C4 #C4A32F
analogous
#2F9BC4 #2F50C4 #582FC4
triadic
#2F50C4 #C42F50 #50C42F
tetradic
#2F50C4 #C42F9B #C4A32F #2FC458
square
#2F50C4 #C42F9B #C4A32F #2FC458
split-complementary
#2F50C4 #C4582F #9BC42F
monochromatic
#172861 #233C93 #2F50C4 #5975D7 #8A9EE3
Accessibility & contrast
On white
6.85
#2F50C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#2F50C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F50C4
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F50C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F50C4 | 1.00 | 6.85 | 3.07 | 6.85 |
| #FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C8
Deuteranopia (green-blind)
#0054C2
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2f50c4; /* rgb */ color: rgb(47, 80, 196); /* oklch */ color: oklch(48.0% 0.185 266.9);
Tailwind
colors: {
custom: {
50: '#7e80d7',
500: '#2f50c4',
950: '#000000',
},
}SCSS
$custom: #2f50c4; $custom-light: #7e80d7; $custom-dark: #000000;
JSON
{
"hex": "#2f50c4",
"rgb": {
"r": 47,
"g": 80,
"b": 196
},
"hsl": {
"h": 226.711,
"s": 61.317,
"l": 47.647
},
"oklch": {
"l": 0.48027,
"c": 0.18501,
"h": 266.9
},
"luminance": 0.10327
}Semantic roles & 50–950 ramp
primary
#2F50C4
secondary
#CDBC82
accent
#C143E4
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0A14
muted
#7C7C83