#2F50B6#2F50B6
#2F50B6 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.166 H 266.4°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2F50B6 |
|---|---|
| RGB | rgb(47, 80, 182) |
| HSL | hsl(225, 59%, 45%) |
| HSV | hsv(225, 74%, 71%) |
| CMYK | cmyk(74.2%, 56%, 0%, 28.6%) |
| CIE-LAB | lab(37.33, 24.27, -57.54) |
| CIE-LCH | lch(37.33, 62.45, 292.87°) |
| OKLab | oklab(46.87% -0.0105 -0.1659) |
| OKLCH | oklch(46.87% 0.166 266.4) |
| XYZ | xyz(12.4815, 9.7177, 45.4648) |
| Luminance | 0.0972 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.66
Cobalt
#0047AB
ΔE00 4.02
Blue Blue
#2242C7
ΔE00 5.01
Cobalt (survey)
#1E488F
ΔE00 6.19
Denim Blue
#3B5B92
ΔE00 6.21
Blue (survey)
#0343DF
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F50B6 #B6952F
analogous
#2F94B6 #2F50B6 #512FB6
triadic
#2F50B6 #B62F50 #50B62F
tetradic
#2F50B6 #B62F94 #B6952F #2FB651
square
#2F50B6 #B62F94 #B6952F #2FB651
split-complementary
#2F50B6 #B6512F #94B62F
monochromatic
#162555 #223B85 #2F50B6 #5070D2 #8198DE
Accessibility & contrast
On white
7.13
#2F50B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#2F50B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F50B6
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F50B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F50B6 | 1.00 | 7.13 | 2.94 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBA
Deuteranopia (green-blind)
#0052B4
Tritanopia (blue-blind)
#00697B
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2f50b6; /* rgb */ color: rgb(47, 80, 182); /* oklch */ color: oklch(46.9% 0.166 266.4);
Tailwind
colors: {
custom: {
50: '#7a80cd',
500: '#2f50b6',
950: '#000000',
},
}SCSS
$custom: #2f50b6; $custom-light: #7a80cd; $custom-dark: #000000;
JSON
{
"hex": "#2f50b6",
"rgb": {
"r": 47,
"g": 80,
"b": 182
},
"hsl": {
"h": 225.333,
"s": 58.952,
"l": 44.902
},
"oklch": {
"l": 0.4687,
"c": 0.16619,
"h": 266.4
},
"luminance": 0.09719
}Semantic roles & 50–950 ramp
primary
#2F50B6
secondary
#C7B479
accent
#BC46E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82