#30259C#30259C
#30259C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.182 H 276.9°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).
Color values
| HEX | #30259C |
|---|---|
| RGB | rgb(48, 37, 156) |
| HSL | hsl(246, 62%, 38%) |
| HSV | hsv(246, 76%, 61%) |
| CMYK | cmyk(69.2%, 76.3%, 0%, 38.8%) |
| CIE-LAB | lab(24.80, 42.15, -62.45) |
| CIE-LCH | lch(24.80, 75.34, 304.02°) |
| OKLab | oklab(37% 0.0217 -0.1805) |
| OKLCH | oklch(37% 0.182 276.9) |
| XYZ | xyz(7.8793, 4.3511, 31.8707) |
| Luminance | 0.0435 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.88
Royal
#0C1793
ΔE00 4.09
Cobalt Blue
#030AA7
ΔE00 5.09
Royal Blue (survey)
#0504AA
ΔE00 5.55
Ultramarine
#2000B1
ΔE00 5.56
Sapphire (survey)
#2138AB
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30259C #919C25
analogous
#25569C #30259C #6B259C
triadic
#30259C #9C3025 #259C30
tetradic
#30259C #9C2556 #919C25 #259C6B
square
#30259C #9C2556 #919C25 #259C6B
split-complementary
#30259C #9C6B25 #569C25
monochromatic
#120E39 #21196B #30259C #3F31CD #6D62DA
Accessibility & contrast
On white
11.23
#30259C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#30259C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30259C
11.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30259C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30259C | 1.00 | 11.23 | 1.87 | 11.23 |
| #FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00369A
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #30259c; /* rgb */ color: rgb(48, 37, 156); /* oklch */ color: oklch(37.0% 0.182 276.9);
Tailwind
colors: {
custom: {
50: '#7862ba',
500: '#30259c',
950: '#000000',
},
}SCSS
$custom: #30259c; $custom-light: #7862ba; $custom-dark: #000000;
JSON
{
"hex": "#30259c",
"rgb": {
"r": 48,
"g": 37,
"b": 156
},
"hsl": {
"h": 245.546,
"s": 61.658,
"l": 37.843
},
"oklch": {
"l": 0.37005,
"c": 0.18177,
"h": 276.9
},
"luminance": 0.04352
}Semantic roles & 50–950 ramp
primary
#30259C
secondary
#B6BF5E
accent
#E543D6
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981