#2F50B4#2F50B4
#2F50B4 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.7% C 0.163 H 266.3°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2F50B4 |
|---|---|
| RGB | rgb(47, 80, 180) |
| HSL | hsl(225, 59%, 45%) |
| HSV | hsv(225, 74%, 71%) |
| CMYK | cmyk(73.9%, 55.6%, 0%, 29.4%) |
| CIE-LAB | lab(37.18, 23.52, -56.60) |
| CIE-LCH | lch(37.18, 61.29, 292.56°) |
| OKLab | oklab(46.71% -0.0106 -0.1631) |
| OKLCH | oklch(46.71% 0.163 266.3) |
| XYZ | xyz(12.2763, 9.6356, 44.3840) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.62
Cobalt
#0047AB
ΔE00 3.88
Blue Blue
#2242C7
ΔE00 5.18
Cobalt (survey)
#1E488F
ΔE00 5.94
Denim Blue
#3B5B92
ΔE00 6.01
Dusk Blue
#26538D
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F50B4 #B4932F
analogous
#2F92B4 #2F50B4 #512FB4
triadic
#2F50B4 #B42F50 #50B42F
tetradic
#2F50B4 #B42F92 #B4932F #2FB451
square
#2F50B4 #B42F92 #B4932F #2FB451
split-complementary
#2F50B4 #B4512F #92B42F
monochromatic
#162553 #223A83 #2F50B4 #4F6FD1 #8097DE
Accessibility & contrast
On white
7.17
#2F50B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#2F50B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F50B4
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F50B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F50B4 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#0052B2
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2f50b4; /* rgb */ color: rgb(47, 80, 180); /* oklch */ color: oklch(46.7% 0.163 266.3);
Tailwind
colors: {
custom: {
50: '#7a80cb',
500: '#2f50b4',
950: '#000000',
},
}SCSS
$custom: #2f50b4; $custom-light: #7a80cb; $custom-dark: #000000;
JSON
{
"hex": "#2f50b4",
"rgb": {
"r": 47,
"g": 80,
"b": 180
},
"hsl": {
"h": 225.113,
"s": 58.59,
"l": 44.51
},
"oklch": {
"l": 0.46709,
"c": 0.16347,
"h": 266.3
},
"luminance": 0.09637
}Semantic roles & 50–950 ramp
primary
#2F50B4
secondary
#C7B378
accent
#BB46E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82