#2D3D97#2D3D97
#2D3D97 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.4% C 0.148 H 270.6°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2D3D97 |
|---|---|
| RGB | rgb(45, 61, 151) |
| HSL | hsl(231, 54%, 38%) |
| HSV | hsv(231, 70%, 59%) |
| CMYK | cmyk(70.2%, 59.6%, 0%, 40.8%) |
| CIE-LAB | lab(29.74, 25.00, -51.31) |
| CIE-LCH | lch(29.74, 57.08, 295.98°) |
| OKLab | oklab(40.4% 0.0016 -0.1479) |
| OKLCH | oklch(40.4% 0.148 270.6) |
| XYZ | xyz(8.3349, 6.1289, 30.0159) |
| Luminance | 0.0613 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.47
Blueberry
#464196
ΔE00 4.02
Darkslateblue
#483D8B
ΔE00 5.36
Cobalt
#0047AB
ΔE00 5.42
Cobalt (survey)
#1E488F
ΔE00 5.65
Blue Blue
#2242C7
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D3D97 #97872D
analogous
#2D7297 #2D3D97 #522D97
triadic
#2D3D97 #972D3D #3D972D
tetradic
#2D3D97 #972D72 #97872D #2D9752
square
#2D3D97 #972D72 #97872D #2D9752
split-complementary
#2D3D97 #97522D #72972D
monochromatic
#111739 #1F2A68 #2D3D97 #3C51C5 #6B7BD3
Accessibility & contrast
On white
9.43
#2D3D97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#2D3D97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D3D97
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D3D97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D3D97 | 1.00 | 9.43 | 2.23 | 9.43 |
| #FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2d3d97; /* rgb */ color: rgb(45, 61, 151); /* oklch */ color: oklch(40.4% 0.148 270.6);
Tailwind
colors: {
custom: {
50: '#7472b6',
500: '#2d3d97',
950: '#000000',
},
}SCSS
$custom: #2d3d97; $custom-light: #7472b6; $custom-dark: #000000;
JSON
{
"hex": "#2d3d97",
"rgb": {
"r": 45,
"g": 61,
"b": 151
},
"hsl": {
"h": 230.943,
"s": 54.082,
"l": 38.431
},
"oklch": {
"l": 0.40396,
"c": 0.14789,
"h": 270.6
},
"luminance": 0.0613
}Semantic roles & 50–950 ramp
primary
#2D3D97
secondary
#BAAD66
accent
#C74ADD
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80