#2D3AB2#2D3AB2
#2D3AB2 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.3% C 0.188 H 270.8°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2D3AB2 |
|---|---|
| RGB | rgb(45, 58, 178) |
| HSL | hsl(234, 60%, 44%) |
| HSV | hsv(234, 75%, 70%) |
| CMYK | cmyk(74.7%, 67.4%, 0%, 30.2%) |
| CIE-LAB | lab(31.34, 36.83, -64.96) |
| CIE-LCH | lch(31.34, 74.67, 299.55°) |
| OKLab | oklab(42.3% 0.0026 -0.1879) |
| OKLCH | oklch(42.3% 0.188 270.8) |
| XYZ | xyz(10.6284, 6.7972, 42.8627) |
| Luminance | 0.0680 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.61
Blue Blue
#2242C7
ΔE00 3.57
Ocean Blue
#4F42B5
ΔE00 4.63
Blueberry
#464196
ΔE00 5.68
Blue With A Hint Of Purple
#533CC6
ΔE00 5.73
Blue (survey)
#0343DF
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D3AB2 #B2A52D
analogous
#2D7CB2 #2D3AB2 #622DB2
triadic
#2D3AB2 #B22D3A #3AB22D
tetradic
#2D3AB2 #B22D7C #B2A52D #2DB262
square
#2D3AB2 #B22D7C #B2A52D #2DB262
split-complementary
#2D3AB2 #B2622D #7CB22D
monochromatic
#141A50 #212A81 #2D3AB2 #4B58D1 #7C85DE
Accessibility & contrast
On white
8.90
#2D3AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#2D3AB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D3AB2
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D3AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D3AB2 | 1.00 | 8.90 | 2.36 | 8.90 |
| #FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0043B0
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2d3ab2; /* rgb */ color: rgb(45, 58, 178); /* oklch */ color: oklch(42.3% 0.188 270.8);
Tailwind
colors: {
custom: {
50: '#7b70ca',
500: '#2d3ab2',
950: '#000000',
},
}SCSS
$custom: #2d3ab2; $custom-light: #7b70ca; $custom-dark: #000000;
JSON
{
"hex": "#2d3ab2",
"rgb": {
"r": 45,
"g": 58,
"b": 178
},
"hsl": {
"h": 234.135,
"s": 59.641,
"l": 43.725
},
"oklch": {
"l": 0.42304,
"c": 0.18792,
"h": 270.8
},
"luminance": 0.06798
}Semantic roles & 50–950 ramp
primary
#2D3AB2
secondary
#C6BE75
accent
#D345E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82