#2D2383#2D2383
#2D2383 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.153 H 279.1°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2383 |
|---|---|
| RGB | rgb(45, 35, 131) |
| HSL | hsl(246, 58%, 33%) |
| HSV | hsv(246, 73%, 51%) |
| CMYK | cmyk(65.6%, 73.3%, 0%, 48.6%) |
| CIE-LAB | lab(21.57, 34.65, -52.26) |
| CIE-LCH | lch(21.57, 62.70, 303.55°) |
| OKLab | oklab(33.88% 0.0242 -0.1508) |
| OKLCH | oklch(33.88% 0.153 279.1) |
| XYZ | xyz(5.7786, 3.3982, 21.8197) |
| Luminance | 0.0340 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.04
Royal
#0C1793
ΔE00 4.32
Indigo (survey)
#380282
ΔE00 6.06
Cobalt Blue
#030AA7
ΔE00 6.86
Darkblue
#00008B
ΔE00 6.90
Navy
#000080
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2383 #798323
analogous
#234983 #2D2383 #5D2383
triadic
#2D2383 #832D23 #23832D
tetradic
#2D2383 #832349 #798323 #23835D
square
#2D2383 #832349 #798323 #23835D
split-complementary
#2D2383 #835D23 #498323
monochromatic
#0C0922 #1C1653 #2D2383 #3E30B3 #5D50D0
Accessibility & contrast
On white
12.50
#2D2383 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#2D2383 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2383
12.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2383 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2383 | 1.00 | 12.50 | 1.68 | 12.50 |
| #FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#003081
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2d2383; /* rgb */ color: rgb(45, 35, 131); /* oklch */ color: oklch(33.9% 0.153 279.1);
Tailwind
colors: {
custom: {
50: '#725fa8',
500: '#2d2383',
950: '#000000',
},
}SCSS
$custom: #2d2383; $custom-light: #725fa8; $custom-dark: #000000;
JSON
{
"hex": "#2d2383",
"rgb": {
"r": 45,
"g": 35,
"b": 131
},
"hsl": {
"h": 246.25,
"s": 57.831,
"l": 32.549
},
"oklch": {
"l": 0.3388,
"c": 0.15271,
"h": 279.1
},
"luminance": 0.03399
}Semantic roles & 50–950 ramp
primary
#2D2383
secondary
#A9B44E
accent
#E147D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F