#2A3EA2#2A3EA2
#2A3EA2 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.4% C 0.163 H 269.2°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3EA2 |
|---|---|
| RGB | rgb(42, 62, 162) |
| HSL | hsl(230, 59%, 40%) |
| HSV | hsv(230, 74%, 64%) |
| CMYK | cmyk(74.1%, 61.7%, 0%, 36.5%) |
| CIE-LAB | lab(30.75, 28.04, -56.34) |
| CIE-LCH | lch(30.75, 62.94, 296.46°) |
| OKLab | oklab(41.39% -0.0022 -0.1627) |
| OKLCH | oklch(41.39% 0.163 269.2) |
| XYZ | xyz(9.1968, 6.5452, 34.9541) |
| Luminance | 0.0655 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.31
Blueberry
#464196
ΔE00 4.60
Cobalt
#0047AB
ΔE00 4.62
Blue Blue
#2242C7
ΔE00 5.04
Cobalt (survey)
#1E488F
ΔE00 5.94
Ocean Blue
#4F42B5
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3EA2 #A28E2A
analogous
#2A7AA2 #2A3EA2 #522AA2
triadic
#2A3EA2 #A22A3E #3EA22A
tetradic
#2A3EA2 #A22A7A #A28E2A #2AA252
square
#2A3EA2 #A22A7A #A28E2A #2AA252
split-complementary
#2A3EA2 #A2522A #7AA22A
monochromatic
#111941 #1D2B71 #2A3EA2 #3D55CD #6D7FD9
Accessibility & contrast
On white
9.09
#2A3EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#2A3EA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3EA2
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3EA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3EA2 | 1.00 | 9.09 | 2.31 | 9.09 |
| #FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2a3ea2; /* rgb */ color: rgb(42, 62, 162); /* oklch */ color: oklch(41.4% 0.163 269.2);
Tailwind
colors: {
custom: {
50: '#7573be',
500: '#2a3ea2',
950: '#000000',
},
}SCSS
$custom: #2a3ea2; $custom-light: #7573be; $custom-dark: #000000;
JSON
{
"hex": "#2a3ea2",
"rgb": {
"r": 42,
"g": 62,
"b": 162
},
"hsl": {
"h": 230,
"s": 58.824,
"l": 40
},
"oklch": {
"l": 0.41389,
"c": 0.16272,
"h": 269.2
},
"luminance": 0.06546
}Semantic roles & 50–950 ramp
primary
#2A3EA2
secondary
#C0B168
accent
#C846E2
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81