#2A50AA#2A50AA
#2A50AA is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.7% C 0.151 H 264.1°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2A50AA |
|---|---|
| RGB | rgb(42, 80, 170) |
| HSL | hsl(222, 60%, 42%) |
| HSV | hsv(222, 75%, 67%) |
| CMYK | cmyk(75.3%, 52.9%, 0%, 33.3%) |
| CIE-LAB | lab(36.23, 19.08, -52.22) |
| CIE-LCH | lch(36.23, 55.60, 290.07°) |
| OKLab | oklab(45.7% -0.0156 -0.1503) |
| OKLCH | oklch(45.7% 0.151 264.1) |
| XYZ | xyz(11.0766, 9.1306, 39.2010) |
| Luminance | 0.0913 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.47
Cobalt
#0047AB
ΔE00 3.20
Cobalt (survey)
#1E488F
ΔE00 4.44
Dusk Blue
#26538D
ΔE00 4.65
Denim Blue
#3B5B92
ΔE00 5.00
Light Navy Blue
#2E5A88
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A50AA #AA842A
analogous
#2A90AA #2A50AA #442AAA
triadic
#2A50AA #AA2A50 #50AA2A
tetradic
#2A50AA #AA2A90 #AA842A #2AAA44
square
#2A50AA #AA2A90 #AA842A #2AAA44
split-complementary
#2A50AA #AA442A #90AA2A
monochromatic
#122248 #1E3979 #2A50AA #416CD0 #7292DC
Accessibility & contrast
On white
7.43
#2A50AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#2A50AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A50AA
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A50AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A50AA | 1.00 | 7.43 | 2.83 | 7.43 |
| #FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#115BAD
Deuteranopia (green-blind)
#0050A8
Tritanopia (blue-blind)
#006675
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2a50aa; /* rgb */ color: rgb(42, 80, 170); /* oklch */ color: oklch(45.7% 0.151 264.1);
Tailwind
colors: {
custom: {
50: '#7680c4',
500: '#2a50aa',
950: '#000000',
},
}SCSS
$custom: #2a50aa; $custom-light: #7680c4; $custom-dark: #000000;
JSON
{
"hex": "#2a50aa",
"rgb": {
"r": 42,
"g": 80,
"b": 170
},
"hsl": {
"h": 222.188,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.45703,
"c": 0.15113,
"h": 264.1
},
"luminance": 0.09132
}Semantic roles & 50–950 ramp
primary
#2A50AA
secondary
#C3AA6C
accent
#B444E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82