#2A3EB0#2A3EB0
#2A3EB0 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.7% C 0.181 H 269.2°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3EB0 |
|---|---|
| RGB | rgb(42, 62, 176) |
| HSL | hsl(231, 61%, 43%) |
| HSV | hsv(231, 76%, 69%) |
| CMYK | cmyk(76.1%, 64.8%, 0%, 31%) |
| CIE-LAB | lab(31.97, 33.24, -62.74) |
| CIE-LCH | lch(31.97, 71.00, 297.91°) |
| OKLab | oklab(42.67% -0.0026 -0.1815) |
| OKLCH | oklch(42.67% 0.181 269.2) |
| XYZ | xyz(10.5112, 7.0709, 41.8767) |
| Luminance | 0.0707 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.86
Blue Blue
#2242C7
ΔE00 3.17
Ocean Blue
#4F42B5
ΔE00 4.92
Cobalt
#0047AB
ΔE00 5.00
Blueberry
#464196
ΔE00 5.47
Blue (survey)
#0343DF
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3EB0 #B09C2A
analogous
#2A81B0 #2A3EB0 #592AB0
triadic
#2A3EB0 #B02A3E #3EB02A
tetradic
#2A3EB0 #B02A81 #B09C2A #2AB059
square
#2A3EB0 #B02A81 #B09C2A #2AB059
split-complementary
#2A3EB0 #B0592A #81B02A
monochromatic
#121B4D #1E2D7F #2A3EB0 #455AD3 #7686DE
Accessibility & contrast
On white
8.70
#2A3EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#2A3EB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3EB0
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3EB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3EB0 | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0045AE
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2a3eb0; /* rgb */ color: rgb(42, 62, 176); /* oklch */ color: oklch(42.7% 0.181 269.2);
Tailwind
colors: {
custom: {
50: '#7973c9',
500: '#2a3eb0',
950: '#000000',
},
}SCSS
$custom: #2a3eb0; $custom-light: #7973c9; $custom-dark: #000000;
JSON
{
"hex": "#2a3eb0",
"rgb": {
"r": 42,
"g": 62,
"b": 176
},
"hsl": {
"h": 231.045,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.42665,
"c": 0.18148,
"h": 269.2
},
"luminance": 0.07072
}Semantic roles & 50–950 ramp
primary
#2A3EB0
secondary
#C6B970
accent
#CC43E5
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82