#2A50AE#2A50AE
#2A50AE is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.0% C 0.157 H 264.4°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2A50AE |
|---|---|
| RGB | rgb(42, 80, 174) |
| HSL | hsl(223, 61%, 42%) |
| HSV | hsv(223, 76%, 68%) |
| CMYK | cmyk(75.9%, 54%, 0%, 31.8%) |
| CIE-LAB | lab(36.53, 20.61, -54.12) |
| CIE-LCH | lch(36.53, 57.92, 290.85°) |
| OKLab | oklab(46.02% -0.0152 -0.1559) |
| OKLCH | oklch(46.02% 0.157 264.4) |
| XYZ | xyz(11.4608, 9.2843, 41.2242) |
| Luminance | 0.0929 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.23
Cobalt
#0047AB
ΔE00 3.27
Cobalt (survey)
#1E488F
ΔE00 4.92
Dusk Blue
#26538D
ΔE00 5.14
Denim Blue
#3B5B92
ΔE00 5.34
Blue Blue
#2242C7
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A50AE #AE882A
analogous
#2A92AE #2A50AE #462AAE
triadic
#2A50AE #AE2A50 #50AE2A
tetradic
#2A50AE #AE2A92 #AE882A #2AAE46
square
#2A50AE #AE2A92 #AE882A #2AAE46
split-complementary
#2A50AE #AE462A #92AE2A
monochromatic
#12234B #1E397D #2A50AE #436CD2 #7593DE
Accessibility & contrast
On white
7.35
#2A50AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#2A50AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A50AE
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A50AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A50AE | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#045CB1
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2a50ae; /* rgb */ color: rgb(42, 80, 174); /* oklch */ color: oklch(46.0% 0.157 264.4);
Tailwind
colors: {
custom: {
50: '#7780c7',
500: '#2a50ae',
950: '#000000',
},
}SCSS
$custom: #2a50ae; $custom-light: #7780c7; $custom-dark: #000000;
JSON
{
"hex": "#2a50ae",
"rgb": {
"r": 42,
"g": 80,
"b": 174
},
"hsl": {
"h": 222.727,
"s": 61.111,
"l": 42.353
},
"oklch": {
"l": 0.46016,
"c": 0.15666,
"h": 264.4
},
"luminance": 0.09286
}Semantic roles & 50–950 ramp
primary
#2A50AE
secondary
#C5AC6F
accent
#B644E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82