#2F50B3#2F50B3
#2F50B3 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.6% C 0.162 H 266.2°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2F50B3 |
|---|---|
| RGB | rgb(47, 80, 179) |
| HSL | hsl(225, 58%, 44%) |
| HSV | hsv(225, 74%, 70%) |
| CMYK | cmyk(73.7%, 55.3%, 0%, 29.8%) |
| CIE-LAB | lab(37.11, 23.14, -56.13) |
| CIE-LCH | lch(37.11, 60.72, 292.40°) |
| OKLab | oklab(46.63% -0.0107 -0.1617) |
| OKLCH | oklch(46.63% 0.162 266.2) |
| XYZ | xyz(12.1748, 9.5950, 43.8495) |
| Luminance | 0.0960 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.62
Cobalt
#0047AB
ΔE00 3.82
Blue Blue
#2242C7
ΔE00 5.27
Cobalt (survey)
#1E488F
ΔE00 5.81
Denim Blue
#3B5B92
ΔE00 5.92
Dusk Blue
#26538D
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F50B3 #B3922F
analogous
#2F92B3 #2F50B3 #502FB3
triadic
#2F50B3 #B32F50 #50B32F
tetradic
#2F50B3 #B32F92 #B3922F #2FB350
square
#2F50B3 #B32F92 #B3922F #2FB350
split-complementary
#2F50B3 #B3502F #92B32F
monochromatic
#162552 #223A83 #2F50B3 #4F6FD1 #7F97DD
Accessibility & contrast
On white
7.19
#2F50B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#2F50B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F50B3
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F50B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F50B3 | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2f50b3; /* rgb */ color: rgb(47, 80, 179); /* oklch */ color: oklch(46.6% 0.162 266.2);
Tailwind
colors: {
custom: {
50: '#7a80ca',
500: '#2f50b3',
950: '#000000',
},
}SCSS
$custom: #2f50b3; $custom-light: #7a80ca; $custom-dark: #000000;
JSON
{
"hex": "#2f50b3",
"rgb": {
"r": 47,
"g": 80,
"b": 179
},
"hsl": {
"h": 225,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.46629,
"c": 0.16209,
"h": 266.2
},
"luminance": 0.09596
}Semantic roles & 50–950 ramp
primary
#2F50B3
secondary
#C6B378
accent
#BB46E2
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82