#2A3FA4#2A3FA4
#2A3FA4 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.8% C 0.164 H 269.0°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3FA4 |
|---|---|
| RGB | rgb(42, 63, 164) |
| HSL | hsl(230, 59%, 40%) |
| HSV | hsv(230, 74%, 64%) |
| CMYK | cmyk(74.4%, 61.6%, 0%, 35.7%) |
| CIE-LAB | lab(31.18, 28.13, -56.85) |
| CIE-LCH | lch(31.18, 63.43, 296.33°) |
| OKLab | oklab(41.76% -0.0029 -0.1642) |
| OKLCH | oklch(41.76% 0.164 269) |
| XYZ | xyz(9.4309, 6.7266, 35.9161) |
| Luminance | 0.0673 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.41
Cobalt
#0047AB
ΔE00 4.35
Blueberry
#464196
ΔE00 4.71
Blue Blue
#2242C7
ΔE00 4.72
Cobalt (survey)
#1E488F
ΔE00 5.85
Ocean Blue
#4F42B5
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3FA4 #A48F2A
analogous
#2A7CA4 #2A3FA4 #522AA4
triadic
#2A3FA4 #A42A3F #3FA42A
tetradic
#2A3FA4 #A42A7C #A48F2A #2AA452
square
#2A3FA4 #A42A7C #A48F2A #2AA452
split-complementary
#2A3FA4 #A4522A #7CA42A
monochromatic
#111A43 #1E2C73 #2A3FA4 #3E56CD #6E81DA
Accessibility & contrast
On white
8.95
#2A3FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2A3FA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3FA4
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3FA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3FA4 | 1.00 | 8.95 | 2.35 | 8.95 |
| #FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#0044A2
Tritanopia (blue-blind)
#00596B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2a3fa4; /* rgb */ color: rgb(42, 63, 164); /* oklch */ color: oklch(41.8% 0.164 269.0);
Tailwind
colors: {
custom: {
50: '#7673c0',
500: '#2a3fa4',
950: '#000000',
},
}SCSS
$custom: #2a3fa4; $custom-light: #7673c0; $custom-dark: #000000;
JSON
{
"hex": "#2a3fa4",
"rgb": {
"r": 42,
"g": 63,
"b": 164
},
"hsl": {
"h": 229.672,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.41759,
"c": 0.16422,
"h": 269
},
"luminance": 0.06728
}Semantic roles & 50–950 ramp
primary
#2A3FA4
secondary
#C1B269
accent
#C745E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81