#2F50BE#2F50BE
#2F50BE is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.5% C 0.177 H 266.7°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2F50BE |
|---|---|
| RGB | rgb(47, 80, 190) |
| HSL | hsl(226, 60%, 46%) |
| HSV | hsv(226, 75%, 75%) |
| CMYK | cmyk(75.3%, 57.9%, 0%, 25.5%) |
| CIE-LAB | lab(37.95, 27.26, -61.23) |
| CIE-LCH | lch(37.95, 67.03, 294.00°) |
| OKLab | oklab(47.53% -0.0101 -0.1767) |
| OKLCH | oklch(47.53% 0.177 266.7) |
| XYZ | xyz(13.3320, 10.0579, 49.9440) |
| Luminance | 0.1006 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.05
Blue Blue
#2242C7
ΔE00 4.47
Cobalt
#0047AB
ΔE00 4.69
Blue (survey)
#0343DF
ΔE00 5.50
Warm Blue
#4B57DB
ΔE00 5.82
Denim
#1560BD
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F50BE #BE9D2F
analogous
#2F98BE #2F50BE #562FBE
triadic
#2F50BE #BE2F50 #50BE2F
tetradic
#2F50BE #BE2F98 #BE9D2F #2FBE56
square
#2F50BE #BE2F98 #BE9D2F #2FBE56
split-complementary
#2F50BE #BE562F #98BE2F
monochromatic
#17275C #233B8D #2F50BE #5573D5 #869BE1
Accessibility & contrast
On white
6.97
#2F50BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#2F50BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F50BE
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F50BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F50BE | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#0053BC
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2f50be; /* rgb */ color: rgb(47, 80, 190); /* oklch */ color: oklch(47.5% 0.177 266.7);
Tailwind
colors: {
custom: {
50: '#7c80d2',
500: '#2f50be',
950: '#000000',
},
}SCSS
$custom: #2f50be; $custom-light: #7c80d2; $custom-dark: #000000;
JSON
{
"hex": "#2f50be",
"rgb": {
"r": 47,
"g": 80,
"b": 190
},
"hsl": {
"h": 226.154,
"s": 60.338,
"l": 46.471
},
"oklch": {
"l": 0.47525,
"c": 0.17702,
"h": 266.7
},
"luminance": 0.10059
}Semantic roles & 50–950 ramp
primary
#2F50BE
secondary
#CBB97E
accent
#BF44E3
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83