#2A3BAD#2A3BAD
#2A3BAD is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.181 H 269.8°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3BAD |
|---|---|
| RGB | rgb(42, 59, 173) |
| HSL | hsl(232, 61%, 42%) |
| HSV | hsv(232, 76%, 68%) |
| CMYK | cmyk(75.7%, 65.9%, 0%, 32.2%) |
| CIE-LAB | lab(30.96, 34.08, -62.60) |
| CIE-LCH | lch(30.96, 71.27, 298.56°) |
| OKLab | oklab(41.85% -0.0006 -0.1811) |
| OKLCH | oklch(41.85% 0.181 269.8) |
| XYZ | xyz(10.0590, 6.6362, 40.2778) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.07
Blue Blue
#2242C7
ΔE00 3.89
Ocean Blue
#4F42B5
ΔE00 5.10
Blueberry
#464196
ΔE00 5.34
Cobalt
#0047AB
ΔE00 5.67
Blue With A Hint Of Purple
#533CC6
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3BAD #AD9C2A
analogous
#2A7CAD #2A3BAD #5B2AAD
triadic
#2A3BAD #AD2A3B #3BAD2A
tetradic
#2A3BAD #AD2A7C #AD9C2A #2AAD5B
square
#2A3BAD #AD2A7C #AD9C2A #2AAD5B
split-complementary
#2A3BAD #AD5B2A #7CAD2A
monochromatic
#12194B #1E2A7C #2A3BAD #4355D1 #7482DD
Accessibility & contrast
On white
9.02
#2A3BAD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2A3BAD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3BAD
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3BAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3BAD | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#0043AB
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2a3bad; /* rgb */ color: rgb(42, 59, 173); /* oklch */ color: oklch(41.8% 0.181 269.8);
Tailwind
colors: {
custom: {
50: '#7871c6',
500: '#2a3bad',
950: '#000000',
},
}SCSS
$custom: #2a3bad; $custom-light: #7871c6; $custom-dark: #000000;
JSON
{
"hex": "#2a3bad",
"rgb": {
"r": 42,
"g": 59,
"b": 173
},
"hsl": {
"h": 232.214,
"s": 60.93,
"l": 42.157
},
"oklch": {
"l": 0.41846,
"c": 0.18106,
"h": 269.8
},
"luminance": 0.06637
}Semantic roles & 50–950 ramp
primary
#2A3BAD
secondary
#C5B96E
accent
#CF44E4
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82