#2F50B7#2F50B7
#2F50B7 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.0% C 0.168 H 266.4°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2F50B7 |
|---|---|
| RGB | rgb(47, 80, 183) |
| HSL | hsl(225, 59%, 45%) |
| HSV | hsv(225, 74%, 72%) |
| CMYK | cmyk(74.3%, 56.3%, 0%, 28.2%) |
| CIE-LAB | lab(37.41, 24.64, -58.00) |
| CIE-LCH | lch(37.41, 63.02, 293.02°) |
| OKLab | oklab(46.95% -0.0105 -0.1672) |
| OKLCH | oklch(46.95% 0.168 266.4) |
| XYZ | xyz(12.5852, 9.7592, 46.0110) |
| Luminance | 0.0976 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.69
Cobalt
#0047AB
ΔE00 4.09
Blue Blue
#2242C7
ΔE00 4.93
Blue (survey)
#0343DF
ΔE00 6.27
Denim Blue
#3B5B92
ΔE00 6.31
Cobalt (survey)
#1E488F
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F50B7 #B7962F
analogous
#2F94B7 #2F50B7 #522FB7
triadic
#2F50B7 #B72F50 #50B72F
tetradic
#2F50B7 #B72F94 #B7962F #2FB752
square
#2F50B7 #B72F94 #B7962F #2FB752
split-complementary
#2F50B7 #B7522F #94B72F
monochromatic
#162556 #223B86 #2F50B7 #5170D2 #8298DF
Accessibility & contrast
On white
7.11
#2F50B7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#2F50B7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F50B7
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F50B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F50B7 | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#0052B5
Tritanopia (blue-blind)
#00697B
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2f50b7; /* rgb */ color: rgb(47, 80, 183); /* oklch */ color: oklch(47.0% 0.168 266.4);
Tailwind
colors: {
custom: {
50: '#7b80cd',
500: '#2f50b7',
950: '#000000',
},
}SCSS
$custom: #2f50b7; $custom-light: #7b80cd; $custom-dark: #000000;
JSON
{
"hex": "#2f50b7",
"rgb": {
"r": 47,
"g": 80,
"b": 183
},
"hsl": {
"h": 225.441,
"s": 59.13,
"l": 45.098
},
"oklch": {
"l": 0.46951,
"c": 0.16756,
"h": 266.4
},
"luminance": 0.09761
}Semantic roles & 50–950 ramp
primary
#2F50B7
secondary
#C8B57A
accent
#BC45E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82