#2F50BA#2F50BA
#2F50BA is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.2% C 0.172 H 266.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2F50BA |
|---|---|
| RGB | rgb(47, 80, 186) |
| HSL | hsl(226, 60%, 46%) |
| HSV | hsv(226, 75%, 73%) |
| CMYK | cmyk(74.7%, 57%, 0%, 27.1%) |
| CIE-LAB | lab(37.64, 25.77, -59.39) |
| CIE-LCH | lch(37.64, 64.74, 293.45°) |
| OKLab | oklab(47.2% -0.0103 -0.1713) |
| OKLCH | oklch(47.2% 0.172 266.6) |
| XYZ | xyz(12.9008, 9.8854, 47.6730) |
| Luminance | 0.0989 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.81
Cobalt
#0047AB
ΔE00 4.33
Blue Blue
#2242C7
ΔE00 4.71
Blue (survey)
#0343DF
ΔE00 5.93
Warm Blue
#4B57DB
ΔE00 6.29
Denim Blue
#3B5B92
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F50BA #BA992F
analogous
#2F96BA #2F50BA #532FBA
triadic
#2F50BA #BA2F50 #50BA2F
tetradic
#2F50BA #BA2F96 #BA992F #2FBA53
square
#2F50BA #BA2F96 #BA992F #2FBA53
split-complementary
#2F50BA #BA532F #96BA2F
monochromatic
#162658 #233B89 #2F50BA #5371D3 #8499E0
Accessibility & contrast
On white
7.05
#2F50BA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#2F50BA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F50BA
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F50BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F50BA | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2f50ba; /* rgb */ color: rgb(47, 80, 186); /* oklch */ color: oklch(47.2% 0.172 266.6);
Tailwind
colors: {
custom: {
50: '#7b80d0',
500: '#2f50ba',
950: '#000000',
},
}SCSS
$custom: #2f50ba; $custom-light: #7b80d0; $custom-dark: #000000;
JSON
{
"hex": "#2f50ba",
"rgb": {
"r": 47,
"g": 80,
"b": 186
},
"hsl": {
"h": 225.755,
"s": 59.657,
"l": 45.686
},
"oklch": {
"l": 0.47195,
"c": 0.17163,
"h": 266.6
},
"luminance": 0.09887
}Semantic roles & 50–950 ramp
primary
#2F50BA
secondary
#C9B77C
accent
#BD45E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82