#2F50C1#2F50C1
#2F50C1 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.8% C 0.181 H 266.8°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2F50C1 |
|---|---|
| RGB | rgb(47, 80, 193) |
| HSL | hsl(226, 61%, 47%) |
| HSV | hsv(226, 76%, 76%) |
| CMYK | cmyk(75.6%, 58.5%, 0%, 24.3%) |
| CIE-LAB | lab(38.18, 28.38, -62.60) |
| CIE-LCH | lch(38.18, 68.73, 294.39°) |
| OKLab | oklab(47.78% -0.01 -0.1807) |
| OKLCH | oklch(47.78% 0.181 266.8) |
| XYZ | xyz(13.6632, 10.1904, 51.6886) |
| Luminance | 0.1019 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.28
Blue Blue
#2242C7
ΔE00 4.34
Cobalt
#0047AB
ΔE00 4.99
Blue (survey)
#0343DF
ΔE00 5.19
Warm Blue
#4B57DB
ΔE00 5.48
Azul
#1D5DEC
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F50C1 #C1A02F
analogous
#2F99C1 #2F50C1 #572FC1
triadic
#2F50C1 #C12F50 #50C12F
tetradic
#2F50C1 #C12F99 #C1A02F #2FC157
square
#2F50C1 #C12F99 #C1A02F #2FC157
split-complementary
#2F50C1 #C1572F #99C12F
monochromatic
#17275F #233C90 #2F50C1 #5774D6 #889DE2
Accessibility & contrast
On white
6.91
#2F50C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#2F50C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F50C1
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F50C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F50C1 | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#0053BF
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2f50c1; /* rgb */ color: rgb(47, 80, 193); /* oklch */ color: oklch(47.8% 0.181 266.8);
Tailwind
colors: {
custom: {
50: '#7d80d5',
500: '#2f50c1',
950: '#000000',
},
}SCSS
$custom: #2f50c1; $custom-light: #7d80d5; $custom-dark: #000000;
JSON
{
"hex": "#2f50c1",
"rgb": {
"r": 47,
"g": 80,
"b": 193
},
"hsl": {
"h": 226.438,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.47775,
"c": 0.18103,
"h": 266.8
},
"luminance": 0.10192
}Semantic roles & 50–950 ramp
primary
#2F50C1
secondary
#CCBB80
accent
#C044E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83