#2D3D91#2D3D91
#2D3D91 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.139 H 270.6°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2D3D91 |
|---|---|
| RGB | rgb(45, 61, 145) |
| HSL | hsl(230, 53%, 37%) |
| HSV | hsv(230, 69%, 57%) |
| CMYK | cmyk(69%, 57.9%, 0%, 43.1%) |
| CIE-LAB | lab(29.26, 22.76, -48.41) |
| CIE-LCH | lch(29.26, 53.50, 295.18°) |
| OKLab | oklab(39.89% 0.0015 -0.1394) |
| OKLCH | oklch(39.89% 0.139 270.6) |
| XYZ | xyz(7.8600, 5.9390, 27.5147) |
| Luminance | 0.0594 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.16
Sapphire (survey)
#2138AB
ΔE00 4.35
Darkslateblue
#483D8B
ΔE00 5.21
Cobalt (survey)
#1E488F
ΔE00 5.34
Cobalt
#0047AB
ΔE00 5.76
Darkish Blue
#014182
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D3D91 #91812D
analogous
#2D6F91 #2D3D91 #4F2D91
triadic
#2D3D91 #912D3D #3D912D
tetradic
#2D3D91 #912D6F #91812D #2D914F
square
#2D3D91 #912D6F #91812D #2D914F
split-complementary
#2D3D91 #914F2D #6F912D
monochromatic
#101634 #1F2962 #2D3D91 #3B51C0 #6879D0
Accessibility & contrast
On white
9.60
#2D3D91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#2D3D91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D3D91
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D3D91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D3D91 | 1.00 | 9.60 | 2.19 | 9.60 |
| #FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2d3d91; /* rgb */ color: rgb(45, 61, 145); /* oklch */ color: oklch(39.9% 0.139 270.6);
Tailwind
colors: {
custom: {
50: '#7372b2',
500: '#2d3d91',
950: '#000000',
},
}SCSS
$custom: #2d3d91; $custom-light: #7372b2; $custom-dark: #000000;
JSON
{
"hex": "#2d3d91",
"rgb": {
"r": 45,
"g": 61,
"b": 145
},
"hsl": {
"h": 230.4,
"s": 52.632,
"l": 37.255
},
"oklch": {
"l": 0.39889,
"c": 0.13937,
"h": 270.6
},
"luminance": 0.0594
}Semantic roles & 50–950 ramp
primary
#2D3D91
secondary
#B7A963
accent
#C54CDC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80