#2F50A2#2F50A2
#2F50A2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.3% C 0.138 H 264.9°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2F50A2 |
|---|---|
| RGB | rgb(47, 80, 162) |
| HSL | hsl(223, 55%, 41%) |
| HSV | hsv(223, 71%, 64%) |
| CMYK | cmyk(71%, 50.6%, 0%, 36.5%) |
| CIE-LAB | lab(35.89, 16.72, -47.99) |
| CIE-LCH | lch(35.89, 50.82, 289.21°) |
| OKLab | oklab(45.32% -0.0123 -0.1378) |
| OKLCH | oklch(45.32% 0.138 264.9) |
| XYZ | xyz(10.5602, 8.9492, 35.3462) |
| Luminance | 0.0895 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.49
Cobalt
#0047AB
ΔE00 3.63
Cobalt (survey)
#1E488F
ΔE00 3.83
Dusk Blue
#26538D
ΔE00 4.13
Denim Blue
#3B5B92
ΔE00 4.43
Light Navy Blue
#2E5A88
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F50A2 #A2812F
analogous
#2F89A2 #2F50A2 #482FA2
triadic
#2F50A2 #A22F50 #50A22F
tetradic
#2F50A2 #A22F89 #A2812F #2FA248
square
#2F50A2 #A22F89 #A2812F #2FA248
split-complementary
#2F50A2 #A2482F #89A22F
monochromatic
#132143 #213973 #2F50A2 #456BC9 #7591D7
Accessibility & contrast
On white
7.53
#2F50A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#2F50A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F50A2
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F50A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F50A2 | 1.00 | 7.53 | 2.79 | 7.53 |
| #FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#205AA5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#006371
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2f50a2; /* rgb */ color: rgb(47, 80, 162); /* oklch */ color: oklch(45.3% 0.138 264.9);
Tailwind
colors: {
custom: {
50: '#7680be',
500: '#2f50a2',
950: '#000000',
},
}SCSS
$custom: #2f50a2; $custom-light: #7680be; $custom-dark: #000000;
JSON
{
"hex": "#2f50a2",
"rgb": {
"r": 47,
"g": 80,
"b": 162
},
"hsl": {
"h": 222.783,
"s": 55.024,
"l": 40.98
},
"oklch": {
"l": 0.45318,
"c": 0.13834,
"h": 264.9
},
"luminance": 0.0895
}Semantic roles & 50–950 ramp
primary
#2F50A2
secondary
#BFA86E
accent
#B449DE
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81