#2A3EA6#2A3EA6
#2A3EA6 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.7% C 0.168 H 269.2°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3EA6 |
|---|---|
| RGB | rgb(42, 62, 166) |
| HSL | hsl(230, 60%, 41%) |
| HSV | hsv(230, 75%, 65%) |
| CMYK | cmyk(74.7%, 62.7%, 0%, 34.9%) |
| CIE-LAB | lab(31.09, 29.54, -58.20) |
| CIE-LCH | lch(31.09, 65.26, 296.91°) |
| OKLab | oklab(41.75% -0.0023 -0.1681) |
| OKLCH | oklch(41.75% 0.168 269.2) |
| XYZ | xyz(9.5580, 6.6896, 36.8565) |
| Luminance | 0.0669 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.97
Blue Blue
#2242C7
ΔE00 4.48
Cobalt
#0047AB
ΔE00 4.65
Blueberry
#464196
ΔE00 4.78
Ocean Blue
#4F42B5
ΔE00 5.64
Cobalt (survey)
#1E488F
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3EA6 #A6922A
analogous
#2A7CA6 #2A3EA6 #542AA6
triadic
#2A3EA6 #A62A3E #3EA62A
tetradic
#2A3EA6 #A62A7C #A6922A #2AA654
square
#2A3EA6 #A62A7C #A6922A #2AA654
split-complementary
#2A3EA6 #A6542A #7CA62A
monochromatic
#111A44 #1E2C75 #2A3EA6 #3F56CE #7081DB
Accessibility & contrast
On white
8.98
#2A3EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#2A3EA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3EA6
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3EA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3EA6 | 1.00 | 8.98 | 2.34 | 8.98 |
| #FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA9
Deuteranopia (green-blind)
#0043A4
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2a3ea6; /* rgb */ color: rgb(42, 62, 166); /* oklch */ color: oklch(41.7% 0.168 269.2);
Tailwind
colors: {
custom: {
50: '#7673c1',
500: '#2a3ea6',
950: '#000000',
},
}SCSS
$custom: #2a3ea6; $custom-light: #7673c1; $custom-dark: #000000;
JSON
{
"hex": "#2a3ea6",
"rgb": {
"r": 42,
"g": 62,
"b": 166
},
"hsl": {
"h": 230.323,
"s": 59.615,
"l": 40.784
},
"oklch": {
"l": 0.41747,
"c": 0.16816,
"h": 269.2
},
"luminance": 0.06691
}Semantic roles & 50–950 ramp
primary
#2A3EA6
secondary
#C2B46A
accent
#C945E3
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0812
muted
#7C7B81