#2F50BF#2F50BF
#2F50BF is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.6% C 0.178 H 266.8°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2F50BF |
|---|---|
| RGB | rgb(47, 80, 191) |
| HSL | hsl(226, 61%, 47%) |
| HSV | hsv(226, 75%, 75%) |
| CMYK | cmyk(75.4%, 58.1%, 0%, 25.1%) |
| CIE-LAB | lab(38.02, 27.64, -61.69) |
| CIE-LCH | lch(38.02, 67.60, 294.13°) |
| OKLab | oklab(47.61% -0.0101 -0.1781) |
| OKLCH | oklch(47.61% 0.178 266.8) |
| XYZ | xyz(13.4416, 10.1018, 50.5215) |
| Luminance | 0.1010 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.13
Blue Blue
#2242C7
ΔE00 4.42
Cobalt
#0047AB
ΔE00 4.79
Blue (survey)
#0343DF
ΔE00 5.39
Warm Blue
#4B57DB
ΔE00 5.71
Azul
#1D5DEC
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F50BF #BF9E2F
analogous
#2F98BF #2F50BF #562FBF
triadic
#2F50BF #BF2F50 #50BF2F
tetradic
#2F50BF #BF2F98 #BF9E2F #2FBF56
square
#2F50BF #BF2F98 #BF9E2F #2FBF56
split-complementary
#2F50BF #BF562F #98BF2F
monochromatic
#17275D #233B8E #2F50BF #5673D5 #879CE1
Accessibility & contrast
On white
6.95
#2F50BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#2F50BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F50BF
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F50BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F50BF | 1.00 | 6.95 | 3.02 | 6.95 |
| #FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#0053BD
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2f50bf; /* rgb */ color: rgb(47, 80, 191); /* oklch */ color: oklch(47.6% 0.178 266.8);
Tailwind
colors: {
custom: {
50: '#7d80d3',
500: '#2f50bf',
950: '#000000',
},
}SCSS
$custom: #2f50bf; $custom-light: #7d80d3; $custom-dark: #000000;
JSON
{
"hex": "#2f50bf",
"rgb": {
"r": 47,
"g": 80,
"b": 191
},
"hsl": {
"h": 226.25,
"s": 60.504,
"l": 46.667
},
"oklch": {
"l": 0.47608,
"c": 0.17836,
"h": 266.8
},
"luminance": 0.10103
}Semantic roles & 50–950 ramp
primary
#2F50BF
secondary
#CBBA7F
accent
#BF44E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83