#30296E#30296E
#30296E is a dark, moderate blue. Relative luminance 0.033; OKLCH L 33.2% C 0.115 H 282.7°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).
Color values
| HEX | #30296E |
|---|---|
| RGB | rgb(48, 41, 110) |
| HSL | hsl(246, 46%, 30%) |
| HSV | hsv(246, 63%, 43%) |
| CMYK | cmyk(56.4%, 62.7%, 0%, 56.9%) |
| CIE-LAB | lab(21.36, 24.12, -39.20) |
| CIE-LCH | lch(21.36, 46.03, 301.60°) |
| OKLab | oklab(33.2% 0.0254 -0.1124) |
| OKLCH | oklch(33.2% 0.115 282.7) |
| XYZ | xyz(4.8255, 3.3398, 15.1392) |
| Luminance | 0.0334 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.24
Darkslateblue
#483D8B
ΔE00 7.08
Dark Indigo
#1F0954
ΔE00 8.44
Royal
#0C1793
ΔE00 8.57
Marine
#042E60
ΔE00 8.64
Blueberry
#464196
ΔE00 8.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30296E #676E29
analogous
#29456E #30296E #53296E
triadic
#30296E #6E3029 #296E30
tetradic
#30296E #6E2945 #676E29 #296E53
square
#30296E #6E2945 #676E29 #296E53
split-complementary
#30296E #6E5329 #456E29
monochromatic
#0A0816 #1D1841 #30296E #433A9B #5E53BF
Accessibility & contrast
On white
12.59
#30296E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#30296E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30296E
12.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30296E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30296E | 1.00 | 12.59 | 1.67 | 12.59 |
| #FFFFFF | 12.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003670
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#153947
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #30296e; /* rgb */ color: rgb(48, 41, 110); /* oklch */ color: oklch(33.2% 0.115 282.7);
Tailwind
colors: {
custom: {
50: '#6f6398',
500: '#30296e',
950: '#000000',
},
}SCSS
$custom: #30296e; $custom-light: #6f6398; $custom-dark: #000000;
JSON
{
"hex": "#30296e",
"rgb": {
"r": 48,
"g": 41,
"b": 110
},
"hsl": {
"h": 246.087,
"s": 45.695,
"l": 29.608
},
"oklch": {
"l": 0.332,
"c": 0.11521,
"h": 282.7
},
"luminance": 0.0334
}Semantic roles & 50–950 ramp
primary
#30296E
secondary
#98A053
accent
#D552C8
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#08050E
muted
#7B797E