#2A3AA6#2A3AA6
#2A3AA6 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.173 H 270.1°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3AA6 |
|---|---|
| RGB | rgb(42, 58, 166) |
| HSL | hsl(232, 60%, 41%) |
| HSV | hsv(232, 75%, 65%) |
| CMYK | cmyk(74.7%, 65.1%, 0%, 34.9%) |
| CIE-LAB | lab(30.08, 32.16, -59.84) |
| CIE-LCH | lch(30.08, 67.93, 298.25°) |
| OKLab | oklab(41.01% 0.0004 -0.173) |
| OKLCH | oklch(41.01% 0.173 270.1) |
| XYZ | xyz(9.3485, 6.2705, 36.7866) |
| Luminance | 0.0627 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.06
Blue Blue
#2242C7
ΔE00 4.84
Blueberry
#464196
ΔE00 4.92
Ocean Blue
#4F42B5
ΔE00 5.61
Cobalt
#0047AB
ΔE00 5.76
Darkslateblue
#483D8B
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3AA6 #A6962A
analogous
#2A78A6 #2A3AA6 #582AA6
triadic
#2A3AA6 #A62A3A #3AA62A
tetradic
#2A3AA6 #A62A78 #A6962A #2AA658
square
#2A3AA6 #A62A78 #A6962A #2AA658
split-complementary
#2A3AA6 #A6582A #78A62A
monochromatic
#111844 #1E2975 #2A3AA6 #3F51CE #707DDB
Accessibility & contrast
On white
9.32
#2A3AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2A3AA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3AA6
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3AA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3AA6 | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA9
Deuteranopia (green-blind)
#0041A4
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2a3aa6; /* rgb */ color: rgb(42, 58, 166); /* oklch */ color: oklch(41.0% 0.173 270.1);
Tailwind
colors: {
custom: {
50: '#7770c1',
500: '#2a3aa6',
950: '#000000',
},
}SCSS
$custom: #2a3aa6; $custom-light: #7770c1; $custom-dark: #000000;
JSON
{
"hex": "#2a3aa6",
"rgb": {
"r": 42,
"g": 58,
"b": 166
},
"hsl": {
"h": 232.258,
"s": 59.615,
"l": 40.784
},
"oklch": {
"l": 0.41008,
"c": 0.173,
"h": 270.1
},
"luminance": 0.06272
}Semantic roles & 50–950 ramp
primary
#2A3AA6
secondary
#C2B66A
accent
#CE45E3
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81