#2A3FA3#2A3FA3
#2A3FA3 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.7% C 0.163 H 269.0°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3FA3 |
|---|---|
| RGB | rgb(42, 63, 163) |
| HSL | hsl(230, 59%, 40%) |
| HSV | hsv(230, 74%, 64%) |
| CMYK | cmyk(74.2%, 61.3%, 0%, 36.1%) |
| CIE-LAB | lab(31.09, 27.76, -56.39) |
| CIE-LCH | lch(31.09, 62.85, 296.21°) |
| OKLab | oklab(41.67% -0.0029 -0.1628) |
| OKLCH | oklch(41.67% 0.163 269) |
| XYZ | xyz(9.3409, 6.6906, 35.4424) |
| Luminance | 0.0669 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.49
Cobalt
#0047AB
ΔE00 4.35
Blueberry
#464196
ΔE00 4.67
Blue Blue
#2242C7
ΔE00 4.87
Cobalt (survey)
#1E488F
ΔE00 5.76
Ocean Blue
#4F42B5
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3FA3 #A38E2A
analogous
#2A7BA3 #2A3FA3 #522AA3
triadic
#2A3FA3 #A32A3F #3FA32A
tetradic
#2A3FA3 #A32A7B #A38E2A #2AA352
square
#2A3FA3 #A32A7B #A38E2A #2AA352
split-complementary
#2A3FA3 #A3522A #7BA32A
monochromatic
#111942 #1D2C72 #2A3FA3 #3D56CD #6E81DA
Accessibility & contrast
On white
8.98
#2A3FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#2A3FA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3FA3
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3FA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3FA3 | 1.00 | 8.98 | 2.34 | 8.98 |
| #FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#0044A1
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2a3fa3; /* rgb */ color: rgb(42, 63, 163); /* oklch */ color: oklch(41.7% 0.163 269.0);
Tailwind
colors: {
custom: {
50: '#7573bf',
500: '#2a3fa3',
950: '#000000',
},
}SCSS
$custom: #2a3fa3; $custom-light: #7573bf; $custom-dark: #000000;
JSON
{
"hex": "#2a3fa3",
"rgb": {
"r": 42,
"g": 63,
"b": 163
},
"hsl": {
"h": 229.587,
"s": 59.024,
"l": 40.196
},
"oklch": {
"l": 0.4167,
"c": 0.16285,
"h": 269
},
"luminance": 0.06692
}Semantic roles & 50–950 ramp
primary
#2A3FA3
secondary
#C0B168
accent
#C746E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81