#2F50AA#2F50AA
#2F50AA is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.9% C 0.150 H 265.6°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2F50AA |
|---|---|
| RGB | rgb(47, 80, 170) |
| HSL | hsl(224, 57%, 43%) |
| HSV | hsv(224, 72%, 67%) |
| CMYK | cmyk(72.4%, 52.9%, 0%, 33.3%) |
| CIE-LAB | lab(36.45, 19.75, -51.86) |
| CIE-LCH | lch(36.45, 55.50, 290.84°) |
| OKLab | oklab(45.92% -0.0114 -0.1492) |
| OKLCH | oklch(45.92% 0.15 265.6) |
| XYZ | xyz(11.2941, 9.2428, 39.2112) |
| Luminance | 0.0924 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.88
Cobalt
#0047AB
ΔE00 3.51
Cobalt (survey)
#1E488F
ΔE00 4.71
Dusk Blue
#26538D
ΔE00 5.05
Denim Blue
#3B5B92
ΔE00 5.08
Blue Blue
#2242C7
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F50AA #AA892F
analogous
#2F8EAA #2F50AA #4B2FAA
triadic
#2F50AA #AA2F50 #50AA2F
tetradic
#2F50AA #AA2F8E #AA892F #2FAA4B
square
#2F50AA #AA2F8E #AA892F #2FAA4B
split-complementary
#2F50AA #AA4B2F #8EAA2F
monochromatic
#14234A #22397A #2F50AA #496DCD #7993DA
Accessibility & contrast
On white
7.37
#2F50AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#2F50AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F50AA
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F50AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F50AA | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#135CAD
Deuteranopia (green-blind)
#0050A8
Tritanopia (blue-blind)
#006675
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2f50aa; /* rgb */ color: rgb(47, 80, 170); /* oklch */ color: oklch(45.9% 0.150 265.6);
Tailwind
colors: {
custom: {
50: '#7880c4',
500: '#2f50aa',
950: '#000000',
},
}SCSS
$custom: #2f50aa; $custom-light: #7880c4; $custom-dark: #000000;
JSON
{
"hex": "#2f50aa",
"rgb": {
"r": 47,
"g": 80,
"b": 170
},
"hsl": {
"h": 223.902,
"s": 56.682,
"l": 42.549
},
"oklch": {
"l": 0.45923,
"c": 0.14962,
"h": 265.6
},
"luminance": 0.09244
}Semantic roles & 50–950 ramp
primary
#2F50AA
secondary
#C2AD72
accent
#B748E0
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82