#2F50B8#2F50B8
#2F50B8 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.0% C 0.169 H 266.5°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2F50B8 |
|---|---|
| RGB | rgb(47, 80, 184) |
| HSL | hsl(226, 59%, 45%) |
| HSV | hsv(226, 74%, 72%) |
| CMYK | cmyk(74.5%, 56.5%, 0%, 27.8%) |
| CIE-LAB | lab(37.48, 25.02, -58.47) |
| CIE-LCH | lch(37.48, 63.59, 293.17°) |
| OKLab | oklab(47.03% -0.0104 -0.1686) |
| OKLCH | oklch(47.03% 0.169 266.5) |
| XYZ | xyz(12.6897, 9.8010, 46.5611) |
| Luminance | 0.0980 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.72
Cobalt
#0047AB
ΔE00 4.17
Blue Blue
#2242C7
ΔE00 4.86
Blue (survey)
#0343DF
ΔE00 6.16
Denim Blue
#3B5B92
ΔE00 6.41
Cobalt (survey)
#1E488F
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F50B8 #B8972F
analogous
#2F95B8 #2F50B8 #522FB8
triadic
#2F50B8 #B82F50 #50B82F
tetradic
#2F50B8 #B82F95 #B8972F #2FB852
square
#2F50B8 #B82F95 #B8972F #2FB852
split-complementary
#2F50B8 #B8522F #95B82F
monochromatic
#162657 #233B87 #2F50B8 #5271D3 #8299DF
Accessibility & contrast
On white
7.09
#2F50B8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#2F50B8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F50B8
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F50B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F50B8 | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#0052B6
Tritanopia (blue-blind)
#006A7C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2f50b8; /* rgb */ color: rgb(47, 80, 184); /* oklch */ color: oklch(47.0% 0.169 266.5);
Tailwind
colors: {
custom: {
50: '#7b80ce',
500: '#2f50b8',
950: '#000000',
},
}SCSS
$custom: #2f50b8; $custom-light: #7b80ce; $custom-dark: #000000;
JSON
{
"hex": "#2f50b8",
"rgb": {
"r": 47,
"g": 80,
"b": 184
},
"hsl": {
"h": 225.547,
"s": 59.307,
"l": 45.294
},
"oklch": {
"l": 0.47032,
"c": 0.16892,
"h": 266.5
},
"luminance": 0.09802
}Semantic roles & 50–950 ramp
primary
#2F50B8
secondary
#C8B67B
accent
#BD45E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82