#2F50B1#2F50B1
#2F50B1 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.5% C 0.159 H 266.1°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2F50B1 |
|---|---|
| RGB | rgb(47, 80, 177) |
| HSL | hsl(225, 58%, 44%) |
| HSV | hsv(225, 73%, 69%) |
| CMYK | cmyk(73.4%, 54.8%, 0%, 30.6%) |
| CIE-LAB | lab(36.96, 22.39, -55.19) |
| CIE-LCH | lch(36.96, 59.56, 292.08°) |
| OKLab | oklab(46.47% -0.0108 -0.159) |
| OKLCH | oklch(46.47% 0.159 266.1) |
| XYZ | xyz(11.9740, 9.5147, 42.7919) |
| Luminance | 0.0952 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.63
Cobalt
#0047AB
ΔE00 3.72
Blue Blue
#2242C7
ΔE00 5.46
Cobalt (survey)
#1E488F
ΔE00 5.56
Denim Blue
#3B5B92
ΔE00 5.72
Dusk Blue
#26538D
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F50B1 #B1902F
analogous
#2F91B1 #2F50B1 #4F2FB1
triadic
#2F50B1 #B12F50 #50B12F
tetradic
#2F50B1 #B12F91 #B1902F #2FB14F
square
#2F50B1 #B12F91 #B1902F #2FB14F
split-complementary
#2F50B1 #B14F2F #91B12F
monochromatic
#152450 #223A81 #2F50B1 #4D6ED0 #7E96DD
Accessibility & contrast
On white
7.23
#2F50B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#2F50B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F50B1
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F50B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F50B1 | 1.00 | 7.23 | 2.90 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB4
Deuteranopia (green-blind)
#0051AF
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2f50b1; /* rgb */ color: rgb(47, 80, 177); /* oklch */ color: oklch(46.5% 0.159 266.1);
Tailwind
colors: {
custom: {
50: '#7980c9',
500: '#2f50b1',
950: '#000000',
},
}SCSS
$custom: #2f50b1; $custom-light: #7980c9; $custom-dark: #000000;
JSON
{
"hex": "#2f50b1",
"rgb": {
"r": 47,
"g": 80,
"b": 177
},
"hsl": {
"h": 224.769,
"s": 58.036,
"l": 43.922
},
"oklch": {
"l": 0.4647,
"c": 0.15934,
"h": 266.1
},
"luminance": 0.09516
}Semantic roles & 50–950 ramp
primary
#2F50B1
secondary
#C5B176
accent
#BA47E1
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82