#2A46C5#2A46C5
#2A46C5 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.1% C 0.199 H 267.7°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2A46C5 |
|---|---|
| RGB | rgb(42, 70, 197) |
| HSL | hsl(229, 65%, 47%) |
| HSV | hsv(229, 79%, 77%) |
| CMYK | cmyk(78.7%, 64.5%, 0%, 22.7%) |
| CIE-LAB | lab(35.80, 35.80, -68.84) |
| CIE-LCH | lch(35.80, 77.60, 297.48°) |
| OKLab | oklab(46.05% -0.0081 -0.1993) |
| OKLCH | oklch(46.05% 0.199 267.7) |
| XYZ | xyz(13.2195, 8.9023, 53.8341) |
| Luminance | 0.0890 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 1.19
Blue (survey)
#0343DF
ΔE00 3.15
Ocean Blue
#4F42B5
ΔE00 5.14
Sapphire (survey)
#2138AB
ΔE00 5.22
Cobalt
#0047AB
ΔE00 5.30
Sapphire
#0F52BA
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A46C5 #C5A92A
analogous
#2A94C5 #2A46C5 #5B2AC5
triadic
#2A46C5 #C52A46 #46C52A
tetradic
#2A46C5 #C52A94 #C5A92A #2AC55B
square
#2A46C5 #C52A94 #C5A92A #2AC55B
split-complementary
#2A46C5 #C55B2A #94C52A
monochromatic
#142260 #1F3493 #2A46C5 #526BDA #8596E5
Accessibility & contrast
On white
7.55
#2A46C5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#2A46C5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A46C5
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A46C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A46C5 | 1.00 | 7.55 | 2.78 | 7.55 |
| #FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#004DC3
Tritanopia (blue-blind)
#00687F
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2a46c5; /* rgb */ color: rgb(42, 70, 197); /* oklch */ color: oklch(46.1% 0.199 267.7);
Tailwind
colors: {
custom: {
50: '#7d79d8',
500: '#2a46c5',
950: '#000000',
},
}SCSS
$custom: #2a46c5; $custom-light: #7d79d8; $custom-dark: #000000;
JSON
{
"hex": "#2a46c5",
"rgb": {
"r": 42,
"g": 70,
"b": 197
},
"hsl": {
"h": 229.161,
"s": 64.854,
"l": 46.863
},
"oklch": {
"l": 0.46052,
"c": 0.19942,
"h": 267.7
},
"luminance": 0.08904
}Semantic roles & 50–950 ramp
primary
#2A46C5
secondary
#CEBF7D
accent
#CA40E8
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0915
muted
#7D7B83