#2A3EA9#2A3EA9
#2A3EA9 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.0% C 0.172 H 269.2°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3EA9 |
|---|---|
| RGB | rgb(42, 62, 169) |
| HSL | hsl(231, 60%, 41%) |
| HSV | hsv(231, 75%, 66%) |
| CMYK | cmyk(75.1%, 63.3%, 0%, 33.7%) |
| CIE-LAB | lab(31.35, 30.66, -59.57) |
| CIE-LCH | lch(31.35, 67.00, 297.23°) |
| OKLab | oklab(42.02% -0.0023 -0.1722) |
| OKLCH | oklch(42.02% 0.172 269.2) |
| XYZ | xyz(9.8364, 6.8010, 38.3227) |
| Luminance | 0.0680 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.81
Blue Blue
#2242C7
ΔE00 4.08
Cobalt
#0047AB
ΔE00 4.72
Blueberry
#464196
ΔE00 4.96
Ocean Blue
#4F42B5
ΔE00 5.39
Cobalt (survey)
#1E488F
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3EA9 #A9952A
analogous
#2A7EA9 #2A3EA9 #562AA9
triadic
#2A3EA9 #A92A3E #3EA92A
tetradic
#2A3EA9 #A92A7E #A9952A #2AA956
square
#2A3EA9 #A92A7E #A9952A #2AA956
split-complementary
#2A3EA9 #A9562A #7EA92A
monochromatic
#121A47 #1E2C78 #2A3EA9 #4157D0 #7282DC
Accessibility & contrast
On white
8.90
#2A3EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#2A3EA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3EA9
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3EA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3EA9 | 1.00 | 8.90 | 2.36 | 8.90 |
| #FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#0044A7
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2a3ea9; /* rgb */ color: rgb(42, 62, 169); /* oklch */ color: oklch(42.0% 0.172 269.2);
Tailwind
colors: {
custom: {
50: '#7773c4',
500: '#2a3ea9',
950: '#000000',
},
}SCSS
$custom: #2a3ea9; $custom-light: #7773c4; $custom-dark: #000000;
JSON
{
"hex": "#2a3ea9",
"rgb": {
"r": 42,
"g": 62,
"b": 169
},
"hsl": {
"h": 230.551,
"s": 60.19,
"l": 41.373
},
"oklch": {
"l": 0.4202,
"c": 0.1722,
"h": 269.2
},
"luminance": 0.06802
}Semantic roles & 50–950 ramp
primary
#2A3EA9
secondary
#C3B56C
accent
#CA44E3
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82