#2A3EB3#2A3EB3
#2A3EB3 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.9% C 0.185 H 269.1°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3EB3 |
|---|---|
| RGB | rgb(42, 62, 179) |
| HSL | hsl(231, 62%, 43%) |
| HSV | hsv(231, 77%, 70%) |
| CMYK | cmyk(76.5%, 65.4%, 0%, 29.8%) |
| CIE-LAB | lab(32.24, 34.34, -64.08) |
| CIE-LCH | lch(32.24, 72.71, 298.18°) |
| OKLab | oklab(42.95% -0.0028 -0.1854) |
| OKLCH | oklch(42.95% 0.185 269.1) |
| XYZ | xyz(10.8114, 7.1910, 43.4573) |
| Luminance | 0.0719 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.05
Blue Blue
#2242C7
ΔE00 2.80
Ocean Blue
#4F42B5
ΔE00 4.77
Cobalt
#0047AB
ΔE00 5.17
Blue (survey)
#0343DF
ΔE00 5.61
Blueberry
#464196
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3EB3 #B39F2A
analogous
#2A82B3 #2A3EB3 #5A2AB3
triadic
#2A3EB3 #B32A3E #3EB32A
tetradic
#2A3EB3 #B32A82 #B39F2A #2AB35A
square
#2A3EB3 #B32A82 #B39F2A #2AB35A
split-complementary
#2A3EB3 #B35A2A #82B32A
monochromatic
#131C50 #1E2D81 #2A3EB3 #465BD4 #7887DF
Accessibility & contrast
On white
8.61
#2A3EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#2A3EB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3EB3
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3EB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3EB3 | 1.00 | 8.61 | 2.44 | 8.61 |
| #FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0045B1
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2a3eb3; /* rgb */ color: rgb(42, 62, 179); /* oklch */ color: oklch(42.9% 0.185 269.1);
Tailwind
colors: {
custom: {
50: '#7973cb',
500: '#2a3eb3',
950: '#000000',
},
}SCSS
$custom: #2a3eb3; $custom-light: #7973cb; $custom-dark: #000000;
JSON
{
"hex": "#2a3eb3",
"rgb": {
"r": 42,
"g": 62,
"b": 179
},
"hsl": {
"h": 231.241,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.42946,
"c": 0.18541,
"h": 269.1
},
"luminance": 0.07192
}Semantic roles & 50–950 ramp
primary
#2A3EB3
secondary
#C7BB72
accent
#CD43E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82