#2F50C3#2F50C3
#2F50C3 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.9% C 0.184 H 266.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2F50C3 |
|---|---|
| RGB | rgb(47, 80, 195) |
| HSL | hsl(227, 61%, 47%) |
| HSV | hsv(227, 76%, 76%) |
| CMYK | cmyk(75.9%, 59%, 0%, 23.5%) |
| CIE-LAB | lab(38.34, 29.12, -63.51) |
| CIE-LCH | lch(38.34, 69.87, 294.64°) |
| OKLab | oklab(47.94% -0.01 -0.1834) |
| OKLCH | oklch(47.94% 0.184 266.9) |
| XYZ | xyz(13.8878, 10.2802, 52.8715) |
| Luminance | 0.1028 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.45
Blue Blue
#2242C7
ΔE00 4.27
Blue (survey)
#0343DF
ΔE00 5.00
Cobalt
#0047AB
ΔE00 5.20
Warm Blue
#4B57DB
ΔE00 5.26
Azul
#1D5DEC
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F50C3 #C3A22F
analogous
#2F9AC3 #2F50C3 #582FC3
triadic
#2F50C3 #C32F50 #50C32F
tetradic
#2F50C3 #C32F9A #C3A22F #2FC358
square
#2F50C3 #C32F9A #C3A22F #2FC358
split-complementary
#2F50C3 #C3582F #9AC32F
monochromatic
#172860 #233C92 #2F50C3 #5875D7 #8A9EE3
Accessibility & contrast
On white
6.87
#2F50C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#2F50C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F50C3
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F50C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F50C3 | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#0054C1
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2f50c3; /* rgb */ color: rgb(47, 80, 195); /* oklch */ color: oklch(47.9% 0.184 266.9);
Tailwind
colors: {
custom: {
50: '#7d80d6',
500: '#2f50c3',
950: '#000000',
},
}SCSS
$custom: #2f50c3; $custom-light: #7d80d6; $custom-dark: #000000;
JSON
{
"hex": "#2f50c3",
"rgb": {
"r": 47,
"g": 80,
"b": 195
},
"hsl": {
"h": 226.622,
"s": 61.157,
"l": 47.451
},
"oklch": {
"l": 0.47943,
"c": 0.18368,
"h": 266.9
},
"luminance": 0.10282
}Semantic roles & 50–950 ramp
primary
#2F50C3
secondary
#CDBC81
accent
#C044E4
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0A14
muted
#7C7C83