#2D3C97#2D3C97
#2D3C97 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.149 H 270.9°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2D3C97 |
|---|---|
| RGB | rgb(45, 60, 151) |
| HSL | hsl(232, 54%, 38%) |
| HSV | hsv(232, 70%, 59%) |
| CMYK | cmyk(70.2%, 60.3%, 0%, 40.8%) |
| CIE-LAB | lab(29.47, 25.67, -51.74) |
| CIE-LCH | lch(29.47, 57.76, 296.39°) |
| OKLab | oklab(40.2% 0.0025 -0.1491) |
| OKLCH | oklch(40.2% 0.149 270.9) |
| XYZ | xyz(8.2821, 6.0232, 29.9983) |
| Luminance | 0.0602 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.31
Blueberry
#464196
ΔE00 4.01
Darkslateblue
#483D8B
ΔE00 5.28
Cobalt
#0047AB
ΔE00 5.67
Cobalt (survey)
#1E488F
ΔE00 5.96
Blue Blue
#2242C7
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D3C97 #97882D
analogous
#2D7197 #2D3C97 #532D97
triadic
#2D3C97 #972D3C #3C972D
tetradic
#2D3C97 #972D71 #97882D #2D9753
square
#2D3C97 #972D71 #97882D #2D9753
split-complementary
#2D3C97 #97532D #71972D
monochromatic
#111739 #1F2968 #2D3C97 #3C50C5 #6B7AD3
Accessibility & contrast
On white
9.52
#2D3C97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#2D3C97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D3C97
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D3C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D3C97 | 1.00 | 9.52 | 2.20 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2d3c97; /* rgb */ color: rgb(45, 60, 151); /* oklch */ color: oklch(40.2% 0.149 270.9);
Tailwind
colors: {
custom: {
50: '#7471b6',
500: '#2d3c97',
950: '#000000',
},
}SCSS
$custom: #2d3c97; $custom-light: #7471b6; $custom-dark: #000000;
JSON
{
"hex": "#2d3c97",
"rgb": {
"r": 45,
"g": 60,
"b": 151
},
"hsl": {
"h": 231.509,
"s": 54.082,
"l": 38.431
},
"oklch": {
"l": 0.40199,
"c": 0.14917,
"h": 270.9
},
"luminance": 0.06024
}Semantic roles & 50–950 ramp
primary
#2D3C97
secondary
#BAAE66
accent
#C94ADD
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80