#2D3C94#2D3C94
#2D3C94 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.145 H 271.0°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2D3C94 |
|---|---|
| RGB | rgb(45, 60, 148) |
| HSL | hsl(231, 53%, 38%) |
| HSV | hsv(231, 70%, 58%) |
| CMYK | cmyk(69.6%, 59.5%, 0%, 42%) |
| CIE-LAB | lab(29.23, 24.55, -50.30) |
| CIE-LCH | lch(29.23, 55.98, 296.02°) |
| OKLab | oklab(39.94% 0.0024 -0.1449) |
| OKLCH | oklch(39.94% 0.145 271) |
| XYZ | xyz(8.0415, 5.9270, 28.7315) |
| Luminance | 0.0593 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.75
Blueberry
#464196
ΔE00 4.04
Darkslateblue
#483D8B
ΔE00 5.17
Cobalt (survey)
#1E488F
ΔE00 5.80
Cobalt
#0047AB
ΔE00 5.81
Darkish Blue
#014182
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D3C94 #94852D
analogous
#2D6F94 #2D3C94 #512D94
triadic
#2D3C94 #942D3C #3C942D
tetradic
#2D3C94 #942D6F #94852D #2D9451
square
#2D3C94 #942D6F #94852D #2D9451
split-complementary
#2D3C94 #94512D #6F942D
monochromatic
#101636 #1F2965 #2D3C94 #3B4FC3 #6A79D2
Accessibility & contrast
On white
9.61
#2D3C94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#2D3C94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D3C94
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D3C94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D3C94 | 1.00 | 9.61 | 2.19 | 9.61 |
| #FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A97
Deuteranopia (green-blind)
#004092
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2d3c94; /* rgb */ color: rgb(45, 60, 148); /* oklch */ color: oklch(39.9% 0.145 271.0);
Tailwind
colors: {
custom: {
50: '#7371b4',
500: '#2d3c94',
950: '#000000',
},
}SCSS
$custom: #2d3c94; $custom-light: #7371b4; $custom-dark: #000000;
JSON
{
"hex": "#2d3c94",
"rgb": {
"r": 45,
"g": 60,
"b": 148
},
"hsl": {
"h": 231.262,
"s": 53.368,
"l": 37.843
},
"oklch": {
"l": 0.39942,
"c": 0.14495,
"h": 271
},
"luminance": 0.05928
}Semantic roles & 50–950 ramp
primary
#2D3C94
secondary
#B8AC64
accent
#C84BDD
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80