#2A3EB5#2A3EB5
#2A3EB5 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.1% C 0.188 H 269.1°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3EB5 |
|---|---|
| RGB | rgb(42, 62, 181) |
| HSL | hsl(231, 62%, 44%) |
| HSV | hsv(231, 77%, 71%) |
| CMYK | cmyk(76.8%, 65.7%, 0%, 29%) |
| CIE-LAB | lab(32.42, 35.07, -64.97) |
| CIE-LCH | lch(32.42, 73.83, 298.36°) |
| OKLab | oklab(43.13% -0.0029 -0.188) |
| OKLCH | oklch(43.13% 0.188 269.1) |
| XYZ | xyz(11.0151, 7.2725, 44.5303) |
| Luminance | 0.0727 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.21
Blue Blue
#2242C7
ΔE00 2.57
Ocean Blue
#4F42B5
ΔE00 4.69
Cobalt
#0047AB
ΔE00 5.30
Blue (survey)
#0343DF
ΔE00 5.36
Blueberry
#464196
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3EB5 #B5A12A
analogous
#2A83B5 #2A3EB5 #5B2AB5
triadic
#2A3EB5 #B52A3E #3EB52A
tetradic
#2A3EB5 #B52A83 #B5A12A #2AB55B
square
#2A3EB5 #B52A83 #B5A12A #2AB55B
split-complementary
#2A3EB5 #B55B2A #83B52A
monochromatic
#131C52 #1E2D83 #2A3EB5 #485CD4 #7988E0
Accessibility & contrast
On white
8.55
#2A3EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#2A3EB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3EB5
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3EB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3EB5 | 1.00 | 8.55 | 2.45 | 8.55 |
| #FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0046B3
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2a3eb5; /* rgb */ color: rgb(42, 62, 181); /* oklch */ color: oklch(43.1% 0.188 269.1);
Tailwind
colors: {
custom: {
50: '#7a73cc',
500: '#2a3eb5',
950: '#000000',
},
}SCSS
$custom: #2a3eb5; $custom-light: #7a73cc; $custom-dark: #000000;
JSON
{
"hex": "#2a3eb5",
"rgb": {
"r": 42,
"g": 62,
"b": 181
},
"hsl": {
"h": 231.367,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.43134,
"c": 0.18801,
"h": 269.1
},
"luminance": 0.07274
}Semantic roles & 50–950 ramp
primary
#2A3EB5
secondary
#C8BC73
accent
#CE42E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82