#2A64C1#2A64C1
#2A64C1 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.7% C 0.158 H 259.6°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2A64C1 |
|---|---|
| RGB | rgb(42, 100, 193) |
| HSL | hsl(217, 64%, 46%) |
| HSV | hsv(217, 78%, 76%) |
| CMYK | cmyk(78.2%, 48.2%, 0%, 24.3%) |
| CIE-LAB | lab(43.44, 14.79, -54.09) |
| CIE-LCH | lch(43.44, 56.07, 285.30°) |
| OKLab | oklab(51.71% -0.0285 -0.1554) |
| OKLCH | oklch(51.71% 0.158 259.6) |
| XYZ | xyz(15.1341, 13.4551, 52.2412) |
| Luminance | 0.1346 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.94
French Blue
#436BAD
ΔE00 3.47
Mid Blue
#276AB3
ΔE00 3.47
Medium Blue
#2C6FBB
ΔE00 4.36
Royal Blue
#4169E1
ΔE00 5.69
Denim (survey)
#3B638C
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A64C1 #C1872A
analogous
#2AAFC1 #2A64C1 #3C2AC1
triadic
#2A64C1 #C12A64 #64C12A
tetradic
#2A64C1 #C12AAF #C1872A #2AC13C
square
#2A64C1 #C12AAF #C1872A #2AC13C
split-complementary
#2A64C1 #C13C2A #AFC12A
monochromatic
#14305C #1F4A8F #2A64C1 #4F84D9 #82A7E4
Accessibility & contrast
On white
5.69
#2A64C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#2A64C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A64C1
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A64C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A64C1 | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F6EC4
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#007A89
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #2a64c1; /* rgb */ color: rgb(42, 100, 193); /* oklch */ color: oklch(51.7% 0.158 259.6);
Tailwind
colors: {
custom: {
50: '#7a8fd4',
500: '#2a64c1',
950: '#000000',
},
}SCSS
$custom: #2a64c1; $custom-light: #7a8fd4; $custom-dark: #000000;
JSON
{
"hex": "#2a64c1",
"rgb": {
"r": 42,
"g": 100,
"b": 193
},
"hsl": {
"h": 216.954,
"s": 64.255,
"l": 46.078
},
"oklch": {
"l": 0.51712,
"c": 0.15804,
"h": 259.6
},
"luminance": 0.13457
}Semantic roles & 50–950 ramp
primary
#2A64C1
secondary
#CDAD7A
accent
#A741E7
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83