#30239F#30239F
#30239F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.1% C 0.187 H 276.8°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).
Color values
| HEX | #30239F |
|---|---|
| RGB | rgb(48, 35, 159) |
| HSL | hsl(246, 64%, 38%) |
| HSV | hsv(246, 78%, 62%) |
| CMYK | cmyk(69.8%, 78%, 0%, 37.6%) |
| CIE-LAB | lab(24.74, 44.20, -64.37) |
| CIE-LCH | lch(24.74, 78.09, 304.47°) |
| OKLab | oklab(37.06% 0.0221 -0.186) |
| OKLCH | oklch(37.06% 0.187 276.8) |
| XYZ | xyz(8.0759, 4.3329, 33.2049) |
| Luminance | 0.0433 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.29
Royal
#0C1793
ΔE00 3.99
Cobalt Blue
#030AA7
ΔE00 4.62
Ultramarine
#2000B1
ΔE00 4.97
Royal Blue (survey)
#0504AA
ΔE00 5.04
True Blue
#010FCC
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30239F #929F23
analogous
#23549F #30239F #6E239F
triadic
#30239F #9F3023 #239F30
tetradic
#30239F #9F2354 #929F23 #239F6E
square
#30239F #9F2354 #929F23 #239F6E
split-complementary
#30239F #9F6E23 #549F23
monochromatic
#120D3B #21186D #30239F #3F2ED1 #6D60DC
Accessibility & contrast
On white
11.25
#30239F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#30239F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30239F
11.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30239F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30239F | 1.00 | 11.25 | 1.87 | 11.25 |
| #FFFFFF | 11.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #30239f; /* rgb */ color: rgb(48, 35, 159); /* oklch */ color: oklch(37.1% 0.187 276.8);
Tailwind
colors: {
custom: {
50: '#7961bd',
500: '#30239f',
950: '#000000',
},
}SCSS
$custom: #30239f; $custom-light: #7961bd; $custom-dark: #000000;
JSON
{
"hex": "#30239f",
"rgb": {
"r": 48,
"g": 35,
"b": 159
},
"hsl": {
"h": 246.29,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.37061,
"c": 0.18736,
"h": 276.8
},
"luminance": 0.04334
}Semantic roles & 50–950 ramp
primary
#30239F
secondary
#B7C15D
accent
#E741D6
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981