#2A3FAD#2A3FAD
#2A3FAD is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.6% C 0.176 H 269.0°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3FAD |
|---|---|
| RGB | rgb(42, 63, 173) |
| HSL | hsl(230, 61%, 42%) |
| HSV | hsv(230, 76%, 68%) |
| CMYK | cmyk(75.7%, 63.6%, 0%, 32.2%) |
| CIE-LAB | lab(31.95, 31.48, -60.98) |
| CIE-LCH | lch(31.95, 68.63, 297.31°) |
| OKLab | oklab(42.57% -0.0031 -0.1763) |
| OKLCH | oklch(42.57% 0.176 269) |
| XYZ | xyz(10.2726, 7.0633, 40.3490) |
| Luminance | 0.0706 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.05
Blue Blue
#2242C7
ΔE00 3.48
Cobalt
#0047AB
ΔE00 4.60
Ocean Blue
#4F42B5
ΔE00 5.14
Blueberry
#464196
ΔE00 5.24
Blue (survey)
#0343DF
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3FAD #AD982A
analogous
#2A80AD #2A3FAD #572AAD
triadic
#2A3FAD #AD2A3F #3FAD2A
tetradic
#2A3FAD #AD2A80 #AD982A #2AAD57
square
#2A3FAD #AD2A80 #AD982A #2AAD57
split-complementary
#2A3FAD #AD572A #80AD2A
monochromatic
#121B4B #1E2D7C #2A3FAD #435AD1 #7485DD
Accessibility & contrast
On white
8.70
#2A3FAD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#2A3FAD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3FAD
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3FAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3FAD | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B1
Deuteranopia (green-blind)
#0045AB
Tritanopia (blue-blind)
#005C70
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2a3fad; /* rgb */ color: rgb(42, 63, 173); /* oklch */ color: oklch(42.6% 0.176 269.0);
Tailwind
colors: {
custom: {
50: '#7874c6',
500: '#2a3fad',
950: '#000000',
},
}SCSS
$custom: #2a3fad; $custom-light: #7874c6; $custom-dark: #000000;
JSON
{
"hex": "#2a3fad",
"rgb": {
"r": 42,
"g": 63,
"b": 173
},
"hsl": {
"h": 230.382,
"s": 60.93,
"l": 42.157
},
"oklch": {
"l": 0.42571,
"c": 0.17633,
"h": 269
},
"luminance": 0.07064
}Semantic roles & 50–950 ramp
primary
#2A3FAD
secondary
#C5B76E
accent
#CA44E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82