#2A3EA8#2A3EA8
#2A3EA8 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.9% C 0.171 H 269.2°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3EA8 |
|---|---|
| RGB | rgb(42, 62, 168) |
| HSL | hsl(230, 60%, 41%) |
| HSV | hsv(230, 75%, 66%) |
| CMYK | cmyk(75%, 63.1%, 0%, 34.1%) |
| CIE-LAB | lab(31.26, 30.28, -59.11) |
| CIE-LCH | lch(31.26, 66.42, 297.13°) |
| OKLab | oklab(41.93% -0.0023 -0.1708) |
| OKLCH | oklch(41.93% 0.171 269.2) |
| XYZ | xyz(9.7429, 6.7636, 37.8302) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.86
Blue Blue
#2242C7
ΔE00 4.21
Cobalt
#0047AB
ΔE00 4.69
Blueberry
#464196
ΔE00 4.90
Ocean Blue
#4F42B5
ΔE00 5.47
Cobalt (survey)
#1E488F
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3EA8 #A8942A
analogous
#2A7DA8 #2A3EA8 #552AA8
triadic
#2A3EA8 #A82A3E #3EA82A
tetradic
#2A3EA8 #A82A7D #A8942A #2AA855
square
#2A3EA8 #A82A7D #A8942A #2AA855
split-complementary
#2A3EA8 #A8552A #7DA82A
monochromatic
#121A46 #1E2C77 #2A3EA8 #4057CF #7182DB
Accessibility & contrast
On white
8.92
#2A3EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2A3EA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3EA8
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3EA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3EA8 | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050AB
Deuteranopia (green-blind)
#0044A6
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2a3ea8; /* rgb */ color: rgb(42, 62, 168); /* oklch */ color: oklch(41.9% 0.171 269.2);
Tailwind
colors: {
custom: {
50: '#7773c3',
500: '#2a3ea8',
950: '#000000',
},
}SCSS
$custom: #2a3ea8; $custom-light: #7773c3; $custom-dark: #000000;
JSON
{
"hex": "#2a3ea8",
"rgb": {
"r": 42,
"g": 62,
"b": 168
},
"hsl": {
"h": 230.476,
"s": 60,
"l": 41.176
},
"oklch": {
"l": 0.41929,
"c": 0.17086,
"h": 269.2
},
"luminance": 0.06765
}Semantic roles & 50–950 ramp
primary
#2A3EA8
secondary
#C3B56B
accent
#CA45E3
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82