#2A3AA3#2A3AA3
#2A3AA3 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.7% C 0.169 H 270.2°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3AA3 |
|---|---|
| RGB | rgb(42, 58, 163) |
| HSL | hsl(232, 59%, 40%) |
| HSV | hsv(232, 74%, 64%) |
| CMYK | cmyk(74.2%, 64.4%, 0%, 36.1%) |
| CIE-LAB | lab(29.82, 31.05, -58.47) |
| CIE-LCH | lch(29.82, 66.20, 297.97°) |
| OKLab | oklab(40.73% 0.0006 -0.169) |
| OKLCH | oklch(40.73% 0.169 270.2) |
| XYZ | xyz(9.0765, 6.1617, 35.3542) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.37
Blueberry
#464196
ΔE00 4.75
Blue Blue
#2242C7
ΔE00 5.21
Cobalt
#0047AB
ΔE00 5.73
Ocean Blue
#4F42B5
ΔE00 5.85
Darkslateblue
#483D8B
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3AA3 #A3932A
analogous
#2A76A3 #2A3AA3 #562AA3
triadic
#2A3AA3 #A32A3A #3AA32A
tetradic
#2A3AA3 #A32A76 #A3932A #2AA356
square
#2A3AA3 #A32A76 #A3932A #2AA356
split-complementary
#2A3AA3 #A3562A #76A32A
monochromatic
#111742 #1D2972 #2A3AA3 #3D50CD #6E7CDA
Accessibility & contrast
On white
9.41
#2A3AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#2A3AA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3AA3
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3AA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3AA3 | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA6
Deuteranopia (green-blind)
#0041A1
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2a3aa3; /* rgb */ color: rgb(42, 58, 163); /* oklch */ color: oklch(40.7% 0.169 270.2);
Tailwind
colors: {
custom: {
50: '#7670bf',
500: '#2a3aa3',
950: '#000000',
},
}SCSS
$custom: #2a3aa3; $custom-light: #7670bf; $custom-dark: #000000;
JSON
{
"hex": "#2a3aa3",
"rgb": {
"r": 42,
"g": 58,
"b": 163
},
"hsl": {
"h": 232.066,
"s": 59.024,
"l": 40.196
},
"oklch": {
"l": 0.40728,
"c": 0.16898,
"h": 270.2
},
"luminance": 0.06163
}Semantic roles & 50–950 ramp
primary
#2A3AA3
secondary
#C0B568
accent
#CE46E2
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81