#2A46C2#2A46C2
#2A46C2 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.8% C 0.196 H 267.7°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2A46C2 |
|---|---|
| RGB | rgb(42, 70, 194) |
| HSL | hsl(229, 64%, 46%) |
| HSV | hsv(229, 78%, 76%) |
| CMYK | cmyk(78.4%, 63.9%, 0%, 23.9%) |
| CIE-LAB | lab(35.53, 34.70, -67.53) |
| CIE-LCH | lch(35.53, 75.92, 297.20°) |
| OKLab | oklab(45.78% -0.008 -0.1954) |
| OKLCH | oklch(45.78% 0.196 267.7) |
| XYZ | xyz(12.8792, 8.7661, 52.0417) |
| Luminance | 0.0877 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 1.32
Blue (survey)
#0343DF
ΔE00 3.52
Cobalt
#0047AB
ΔE00 4.96
Sapphire (survey)
#2138AB
ΔE00 4.97
Ocean Blue
#4F42B5
ΔE00 5.12
Sapphire
#0F52BA
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A46C2 #C2A62A
analogous
#2A92C2 #2A46C2 #5A2AC2
triadic
#2A46C2 #C22A46 #46C22A
tetradic
#2A46C2 #C22A92 #C2A62A #2AC25A
square
#2A46C2 #C22A92 #C2A62A #2AC25A
split-complementary
#2A46C2 #C25A2A #92C22A
monochromatic
#14225D #1F3490 #2A46C2 #5069D9 #8294E4
Accessibility & contrast
On white
7.63
#2A46C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#2A46C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A46C2
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A46C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A46C2 | 1.00 | 7.63 | 2.75 | 7.63 |
| #FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#004DC0
Tritanopia (blue-blind)
#00677D
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2a46c2; /* rgb */ color: rgb(42, 70, 194); /* oklch */ color: oklch(45.8% 0.196 267.7);
Tailwind
colors: {
custom: {
50: '#7c79d5',
500: '#2a46c2',
950: '#000000',
},
}SCSS
$custom: #2a46c2; $custom-light: #7c79d5; $custom-dark: #000000;
JSON
{
"hex": "#2a46c2",
"rgb": {
"r": 42,
"g": 70,
"b": 194
},
"hsl": {
"h": 228.947,
"s": 64.407,
"l": 46.275
},
"oklch": {
"l": 0.45775,
"c": 0.19556,
"h": 267.7
},
"luminance": 0.08768
}Semantic roles & 50–950 ramp
primary
#2A46C2
secondary
#CDBE7B
accent
#C940E7
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83