#2F50A5#2F50A5
#2F50A5 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.5% C 0.143 H 265.2°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2F50A5 |
|---|---|
| RGB | rgb(47, 80, 165) |
| HSL | hsl(223, 56%, 42%) |
| HSV | hsv(223, 72%, 65%) |
| CMYK | cmyk(71.5%, 51.5%, 0%, 35.3%) |
| CIE-LAB | lab(36.09, 17.86, -49.45) |
| CIE-LCH | lch(36.09, 52.58, 289.85°) |
| OKLab | oklab(45.54% -0.012 -0.1421) |
| OKLCH | oklch(45.54% 0.143 265.2) |
| XYZ | xyz(10.8301, 9.0572, 36.7675) |
| Luminance | 0.0906 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.23
Cobalt
#0047AB
ΔE00 3.54
Cobalt (survey)
#1E488F
ΔE00 4.14
Dusk Blue
#26538D
ΔE00 4.47
Denim Blue
#3B5B92
ΔE00 4.66
Light Navy Blue
#2E5A88
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F50A5 #A5842F
analogous
#2F8BA5 #2F50A5 #492FA5
triadic
#2F50A5 #A52F50 #50A52F
tetradic
#2F50A5 #A52F8B #A5842F #2FA549
square
#2F50A5 #A52F8B #A5842F #2FA549
split-complementary
#2F50A5 #A5492F #8BA52F
monochromatic
#142246 #213975 #2F50A5 #476CCB #7692D8
Accessibility & contrast
On white
7.47
#2F50A5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#2F50A5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F50A5
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F50A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F50A5 | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C5BA8
Deuteranopia (green-blind)
#0050A3
Tritanopia (blue-blind)
#006473
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2f50a5; /* rgb */ color: rgb(47, 80, 165); /* oklch */ color: oklch(45.5% 0.143 265.2);
Tailwind
colors: {
custom: {
50: '#7780c0',
500: '#2f50a5',
950: '#000000',
},
}SCSS
$custom: #2f50a5; $custom-light: #7780c0; $custom-dark: #000000;
JSON
{
"hex": "#2f50a5",
"rgb": {
"r": 47,
"g": 80,
"b": 165
},
"hsl": {
"h": 223.22,
"s": 55.66,
"l": 41.569
},
"oklch": {
"l": 0.45542,
"c": 0.14259,
"h": 265.2
},
"luminance": 0.09058
}Semantic roles & 50–950 ramp
primary
#2F50A5
secondary
#C0AA70
accent
#B549DF
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81