#2F50BC#2F50BC
#2F50BC is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.4% C 0.174 H 266.6°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2F50BC |
|---|---|
| RGB | rgb(47, 80, 188) |
| HSL | hsl(226, 60%, 46%) |
| HSV | hsv(226, 75%, 74%) |
| CMYK | cmyk(75%, 57.4%, 0%, 26.3%) |
| CIE-LAB | lab(37.79, 26.52, -60.31) |
| CIE-LCH | lch(37.79, 65.89, 293.73°) |
| OKLab | oklab(47.36% -0.0102 -0.174) |
| OKLCH | oklch(47.36% 0.174 266.6) |
| XYZ | xyz(13.1149, 9.9711, 48.8006) |
| Luminance | 0.0997 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.92
Cobalt
#0047AB
ΔE00 4.51
Blue Blue
#2242C7
ΔE00 4.58
Blue (survey)
#0343DF
ΔE00 5.71
Warm Blue
#4B57DB
ΔE00 6.05
Denim Blue
#3B5B92
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F50BC #BC9B2F
analogous
#2F96BC #2F50BC #542FBC
triadic
#2F50BC #BC2F50 #50BC2F
tetradic
#2F50BC #BC2F96 #BC9B2F #2FBC54
square
#2F50BC #BC2F96 #BC9B2F #2FBC54
split-complementary
#2F50BC #BC542F #96BC2F
monochromatic
#17265A #233B8B #2F50BC #5472D4 #859AE0
Accessibility & contrast
On white
7.01
#2F50BC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#2F50BC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F50BC
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F50BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F50BC | 1.00 | 7.01 | 2.99 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2f50bc; /* rgb */ color: rgb(47, 80, 188); /* oklch */ color: oklch(47.4% 0.174 266.6);
Tailwind
colors: {
custom: {
50: '#7c80d1',
500: '#2f50bc',
950: '#000000',
},
}SCSS
$custom: #2f50bc; $custom-light: #7c80d1; $custom-dark: #000000;
JSON
{
"hex": "#2f50bc",
"rgb": {
"r": 47,
"g": 80,
"b": 188
},
"hsl": {
"h": 225.957,
"s": 60,
"l": 46.078
},
"oklch": {
"l": 0.47359,
"c": 0.17433,
"h": 266.6
},
"luminance": 0.09972
}Semantic roles & 50–950 ramp
primary
#2F50BC
secondary
#CAB87D
accent
#BE45E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82