#2D296F#2D296F
#2D296F is a dark, moderate blue. Relative luminance 0.033; OKLCH L 33.0% C 0.117 H 280.4°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2D296F |
|---|---|
| RGB | rgb(45, 41, 111) |
| HSL | hsl(243, 46%, 30%) |
| HSV | hsv(243, 63%, 44%) |
| CMYK | cmyk(59.5%, 63.1%, 0%, 56.5%) |
| CIE-LAB | lab(21.17, 23.85, -40.16) |
| CIE-LCH | lch(21.17, 46.71, 300.71°) |
| OKLab | oklab(33.03% 0.0211 -0.1153) |
| OKLCH | oklch(33.03% 0.117 280.4) |
| XYZ | xyz(4.7435, 3.2911, 15.4211) |
| Luminance | 0.0329 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.97
Darkslateblue
#483D8B
ΔE00 7.19
Marine
#042E60
ΔE00 8.12
Royal
#0C1793
ΔE00 8.26
Dark Indigo
#1F0954
ΔE00 8.57
Blueberry
#464196
ΔE00 8.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D296F #6B6F29
analogous
#29486F #2D296F #50296F
triadic
#2D296F #6F2D29 #296F2D
tetradic
#2D296F #6F2948 #6B6F29 #296F50
square
#2D296F #6F2948 #6B6F29 #296F50
split-complementary
#2D296F #6F5029 #486F29
monochromatic
#090816 #1B1842 #2D296F #3F3A9C #5953BF
Accessibility & contrast
On white
12.66
#2D296F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#2D296F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D296F
12.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D296F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D296F | 1.00 | 12.66 | 1.66 | 12.66 |
| #FFFFFF | 12.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#00306E
Tritanopia (blue-blind)
#093A47
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2d296f; /* rgb */ color: rgb(45, 41, 111); /* oklch */ color: oklch(33.0% 0.117 280.4);
Tailwind
colors: {
custom: {
50: '#6d6399',
500: '#2d296f',
950: '#000000',
},
}SCSS
$custom: #2d296f; $custom-light: #6d6399; $custom-dark: #000000;
JSON
{
"hex": "#2d296f",
"rgb": {
"r": 45,
"g": 41,
"b": 111
},
"hsl": {
"h": 243.429,
"s": 46.053,
"l": 29.804
},
"oklch": {
"l": 0.33026,
"c": 0.1172,
"h": 280.4
},
"luminance": 0.03291
}Semantic roles & 50–950 ramp
primary
#2D296F
secondary
#9DA153
accent
#D652CE
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E