#2A49C2#2A49C2
#2A49C2 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.3% C 0.192 H 267.1°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2A49C2 |
|---|---|
| RGB | rgb(42, 73, 194) |
| HSL | hsl(228, 64%, 46%) |
| HSV | hsv(228, 78%, 76%) |
| CMYK | cmyk(78.4%, 62.4%, 0%, 23.9%) |
| CIE-LAB | lab(36.27, 32.77, -66.31) |
| CIE-LCH | lch(36.27, 73.97, 296.30°) |
| OKLab | oklab(46.32% -0.0097 -0.1918) |
| OKLCH | oklch(46.32% 0.192 267.1) |
| XYZ | xyz(13.0716, 9.1509, 52.1058) |
| Luminance | 0.0915 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.17
Blue (survey)
#0343DF
ΔE00 3.81
Sapphire
#0F52BA
ΔE00 4.63
Cobalt
#0047AB
ΔE00 4.68
Ocean Blue
#4F42B5
ΔE00 5.64
Sapphire (survey)
#2138AB
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A49C2 #C2A32A
analogous
#2A95C2 #2A49C2 #572AC2
triadic
#2A49C2 #C22A49 #49C22A
tetradic
#2A49C2 #C22A95 #C2A32A #2AC257
square
#2A49C2 #C22A95 #C2A32A #2AC257
split-complementary
#2A49C2 #C2572A #95C22A
monochromatic
#14235D #1F3690 #2A49C2 #506CD9 #8296E4
Accessibility & contrast
On white
7.42
#2A49C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#2A49C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A49C2
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A49C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A49C2 | 1.00 | 7.42 | 2.83 | 7.42 |
| #FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#004EC0
Tritanopia (blue-blind)
#00687E
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2a49c2; /* rgb */ color: rgb(42, 73, 194); /* oklch */ color: oklch(46.3% 0.192 267.1);
Tailwind
colors: {
custom: {
50: '#7c7bd5',
500: '#2a49c2',
950: '#000000',
},
}SCSS
$custom: #2a49c2; $custom-light: #7c7bd5; $custom-dark: #000000;
JSON
{
"hex": "#2a49c2",
"rgb": {
"r": 42,
"g": 73,
"b": 194
},
"hsl": {
"h": 227.763,
"s": 64.407,
"l": 46.275
},
"oklch": {
"l": 0.46324,
"c": 0.19206,
"h": 267.1
},
"luminance": 0.09152
}Semantic roles & 50–950 ramp
primary
#2A49C2
secondary
#CDBC7B
accent
#C540E7
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83