#2A3DB5#2A3DB5
#2A3DB5 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.0% C 0.189 H 269.3°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3DB5 |
|---|---|
| RGB | rgb(42, 61, 181) |
| HSL | hsl(232, 62%, 44%) |
| HSV | hsv(232, 77%, 71%) |
| CMYK | cmyk(76.8%, 66.3%, 0%, 29%) |
| CIE-LAB | lab(32.18, 35.71, -65.37) |
| CIE-LCH | lch(32.18, 74.48, 298.65°) |
| OKLab | oklab(42.96% -0.0023 -0.1892) |
| OKLCH | oklch(42.96% 0.189 269.3) |
| XYZ | xyz(10.9612, 7.1647, 44.5123) |
| Luminance | 0.0717 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.04
Blue Blue
#2242C7
ΔE00 2.71
Ocean Blue
#4F42B5
ΔE00 4.68
Blue (survey)
#0343DF
ΔE00 5.45
Cobalt
#0047AB
ΔE00 5.54
Blue With A Hint Of Purple
#533CC6
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3DB5 #B5A22A
analogous
#2A82B5 #2A3DB5 #5C2AB5
triadic
#2A3DB5 #B52A3D #3DB52A
tetradic
#2A3DB5 #B52A82 #B5A22A #2AB55C
square
#2A3DB5 #B52A82 #B5A22A #2AB55C
split-complementary
#2A3DB5 #B55C2A #82B52A
monochromatic
#131C52 #1E2C83 #2A3DB5 #485BD4 #7987E0
Accessibility & contrast
On white
8.63
#2A3DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#2A3DB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3DB5
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3DB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3DB5 | 1.00 | 8.63 | 2.43 | 8.63 |
| #FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0045B3
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2a3db5; /* rgb */ color: rgb(42, 61, 181); /* oklch */ color: oklch(43.0% 0.189 269.3);
Tailwind
colors: {
custom: {
50: '#7a72cc',
500: '#2a3db5',
950: '#000000',
},
}SCSS
$custom: #2a3db5; $custom-light: #7a72cc; $custom-dark: #000000;
JSON
{
"hex": "#2a3db5",
"rgb": {
"r": 42,
"g": 61,
"b": 181
},
"hsl": {
"h": 231.799,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.42959,
"c": 0.18916,
"h": 269.3
},
"luminance": 0.07166
}Semantic roles & 50–950 ramp
primary
#2A3DB5
secondary
#C8BC73
accent
#CF42E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82