#2A3CAB#2A3CAB
#2A3CAB is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.8% C 0.177 H 269.6°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3CAB |
|---|---|
| RGB | rgb(42, 60, 171) |
| HSL | hsl(232, 61%, 42%) |
| HSV | hsv(232, 75%, 67%) |
| CMYK | cmyk(75.4%, 64.9%, 0%, 32.9%) |
| CIE-LAB | lab(31.03, 32.70, -61.30) |
| CIE-LCH | lch(31.03, 69.47, 298.08°) |
| OKLab | oklab(41.84% -0.0011 -0.1772) |
| OKLCH | oklch(41.84% 0.177 269.6) |
| XYZ | xyz(9.9189, 6.6632, 39.2836) |
| Luminance | 0.0666 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.24
Blue Blue
#2242C7
ΔE00 4.00
Blueberry
#464196
ΔE00 5.14
Ocean Blue
#4F42B5
ΔE00 5.21
Cobalt
#0047AB
ΔE00 5.33
Blue (survey)
#0343DF
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3CAB #AB992A
analogous
#2A7DAB #2A3CAB #592AAB
triadic
#2A3CAB #AB2A3C #3CAB2A
tetradic
#2A3CAB #AB2A7D #AB992A #2AAB59
square
#2A3CAB #AB2A7D #AB992A #2AAB59
split-complementary
#2A3CAB #AB592A #7DAB2A
monochromatic
#121A49 #1E2B7A #2A3CAB #4256D1 #7382DD
Accessibility & contrast
On white
9.00
#2A3CAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2A3CAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3CAB
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3CAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3CAB | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0043A9
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2a3cab; /* rgb */ color: rgb(42, 60, 171); /* oklch */ color: oklch(41.8% 0.177 269.6);
Tailwind
colors: {
custom: {
50: '#7871c5',
500: '#2a3cab',
950: '#000000',
},
}SCSS
$custom: #2a3cab; $custom-light: #7871c5; $custom-dark: #000000;
JSON
{
"hex": "#2a3cab",
"rgb": {
"r": 42,
"g": 60,
"b": 171
},
"hsl": {
"h": 231.628,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.41837,
"c": 0.17725,
"h": 269.6
},
"luminance": 0.06664
}Semantic roles & 50–950 ramp
primary
#2A3CAB
secondary
#C4B86D
accent
#CD44E4
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82