#2A3EA0#2A3EA0
#2A3EA0 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.160 H 269.2°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3EA0 |
|---|---|
| RGB | rgb(42, 62, 160) |
| HSL | hsl(230, 58%, 40%) |
| HSV | hsv(230, 74%, 63%) |
| CMYK | cmyk(73.8%, 61.2%, 0%, 37.3%) |
| CIE-LAB | lab(30.58, 27.30, -55.41) |
| CIE-LCH | lch(30.58, 61.77, 296.23°) |
| OKLab | oklab(41.21% -0.0022 -0.16) |
| OKLCH | oklch(41.21% 0.16 269.2) |
| XYZ | xyz(9.0205, 6.4746, 34.0252) |
| Luminance | 0.0648 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.52
Blueberry
#464196
ΔE00 4.53
Cobalt
#0047AB
ΔE00 4.63
Blue Blue
#2242C7
ΔE00 5.32
Cobalt (survey)
#1E488F
ΔE00 5.76
Ocean Blue
#4F42B5
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3EA0 #A08C2A
analogous
#2A79A0 #2A3EA0 #512AA0
triadic
#2A3EA0 #A02A3E #3EA02A
tetradic
#2A3EA0 #A02A79 #A08C2A #2AA051
square
#2A3EA0 #A02A79 #A08C2A #2AA051
split-complementary
#2A3EA0 #A0512A #79A02A
monochromatic
#11183F #1D2B70 #2A3EA0 #3C54CC #6C7ED8
Accessibility & contrast
On white
9.15
#2A3EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2A3EA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3EA0
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3EA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3EA0 | 1.00 | 9.15 | 2.30 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2a3ea0; /* rgb */ color: rgb(42, 62, 160); /* oklch */ color: oklch(41.2% 0.160 269.2);
Tailwind
colors: {
custom: {
50: '#7573bd',
500: '#2a3ea0',
950: '#000000',
},
}SCSS
$custom: #2a3ea0; $custom-light: #7573bd; $custom-dark: #000000;
JSON
{
"hex": "#2a3ea0",
"rgb": {
"r": 42,
"g": 62,
"b": 160
},
"hsl": {
"h": 229.831,
"s": 58.416,
"l": 39.608
},
"oklch": {
"l": 0.41211,
"c": 0.15998,
"h": 269.2
},
"luminance": 0.06476
}Semantic roles & 50–950 ramp
primary
#2A3EA0
secondary
#BFB067
accent
#C746E2
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81