#2F50D4#2F50D4
#2F50D4 is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 49.4% C 0.206 H 267.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2F50D4 |
|---|---|
| RGB | rgb(47, 80, 212) |
| HSL | hsl(228, 66%, 51%) |
| HSV | hsv(228, 78%, 83%) |
| CMYK | cmyk(77.8%, 62.3%, 0%, 16.9%) |
| CIE-LAB | lab(39.74, 35.37, -71.07) |
| CIE-LCH | lch(39.74, 79.38, 296.46°) |
| OKLab | oklab(49.41% -0.0099 -0.2056) |
| OKLCH | oklch(49.41% 0.206 267.2) |
| XYZ | xyz(15.9205, 11.0933, 63.5767) |
| Luminance | 0.1109 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.67
Blue (survey)
#0343DF
ΔE00 3.88
Blue Blue
#2242C7
ΔE00 4.49
Electric Blue
#0652FF
ΔE00 5.01
Azul
#1D5DEC
ΔE00 5.14
Sapphire
#0F52BA
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F50D4 #D4B32F
analogous
#2FA2D4 #2F50D4 #602FD4
triadic
#2F50D4 #D42F50 #50D42F
tetradic
#2F50D4 #D42FA2 #D4B32F #2FD460
square
#2F50D4 #D42FA2 #D4B32F #2FD460
split-complementary
#2F50D4 #D4602F #A2D42F
monochromatic
#172971 #223CA4 #2F50D4 #627BDE #94A5E9
Accessibility & contrast
On white
6.52
#2F50D4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#2F50D4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F50D4
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F50D4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F50D4 | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D8
Deuteranopia (green-blind)
#0056D1
Tritanopia (blue-blind)
#00728A
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2f50d4; /* rgb */ color: rgb(47, 80, 212); /* oklch */ color: oklch(49.4% 0.206 267.2);
Tailwind
colors: {
custom: {
50: '#8180e2',
500: '#2f50d4',
950: '#000000',
},
}SCSS
$custom: #2f50d4; $custom-light: #8180e2; $custom-dark: #000000;
JSON
{
"hex": "#2f50d4",
"rgb": {
"r": 47,
"g": 80,
"b": 212
},
"hsl": {
"h": 228,
"s": 65.737,
"l": 50.784
},
"oklch": {
"l": 0.49413,
"c": 0.20581,
"h": 267.2
},
"luminance": 0.11095
}Semantic roles & 50–950 ramp
primary
#2F50D4
secondary
#D4C58B
accent
#C73FE9
background
#F8F7FE
surface
#F0EEFC
border
#CBC9D5
text
#0C0A16
muted
#7D7C84