#2F50B2#2F50B2
#2F50B2 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.5% C 0.161 H 266.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2F50B2 |
|---|---|
| RGB | rgb(47, 80, 178) |
| HSL | hsl(225, 58%, 44%) |
| HSV | hsv(225, 74%, 70%) |
| CMYK | cmyk(73.6%, 55.1%, 0%, 30.2%) |
| CIE-LAB | lab(37.03, 22.77, -55.66) |
| CIE-LCH | lch(37.03, 60.14, 292.24°) |
| OKLab | oklab(46.55% -0.0108 -0.1604) |
| OKLCH | oklch(46.55% 0.161 266.2) |
| XYZ | xyz(12.0740, 9.5547, 43.3188) |
| Luminance | 0.0956 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.62
Cobalt
#0047AB
ΔE00 3.77
Blue Blue
#2242C7
ΔE00 5.37
Cobalt (survey)
#1E488F
ΔE00 5.69
Denim Blue
#3B5B92
ΔE00 5.82
Dusk Blue
#26538D
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F50B2 #B2912F
analogous
#2F92B2 #2F50B2 #4F2FB2
triadic
#2F50B2 #B22F50 #50B22F
tetradic
#2F50B2 #B22F92 #B2912F #2FB24F
square
#2F50B2 #B22F92 #B2912F #2FB24F
split-complementary
#2F50B2 #B24F2F #92B22F
monochromatic
#152451 #223A82 #2F50B2 #4E6FD0 #7E96DD
Accessibility & contrast
On white
7.21
#2F50B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#2F50B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F50B2
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F50B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F50B2 | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2f50b2; /* rgb */ color: rgb(47, 80, 178); /* oklch */ color: oklch(46.5% 0.161 266.2);
Tailwind
colors: {
custom: {
50: '#7a80ca',
500: '#2f50b2',
950: '#000000',
},
}SCSS
$custom: #2f50b2; $custom-light: #7a80ca; $custom-dark: #000000;
JSON
{
"hex": "#2f50b2",
"rgb": {
"r": 47,
"g": 80,
"b": 178
},
"hsl": {
"h": 224.885,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.46549,
"c": 0.16072,
"h": 266.2
},
"luminance": 0.09556
}Semantic roles & 50–950 ramp
primary
#2F50B2
secondary
#C6B277
accent
#BA46E1
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82