#30409C#30409C
#30409C is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.150 H 270.9°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #30409C |
|---|---|
| RGB | rgb(48, 64, 156) |
| HSL | hsl(231, 53%, 40%) |
| HSV | hsv(231, 69%, 61%) |
| CMYK | cmyk(69.2%, 59%, 0%, 38.8%) |
| CIE-LAB | lab(31.10, 25.30, -52.12) |
| CIE-LCH | lch(31.10, 57.94, 295.89°) |
| OKLab | oklab(41.58% 0.0023 -0.1502) |
| OKLCH | oklch(41.58% 0.15 270.9) |
| XYZ | xyz(9.0510, 6.6946, 32.2612) |
| Luminance | 0.0669 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.46
Blueberry
#464196
ΔE00 3.81
Cobalt
#0047AB
ΔE00 4.82
Cobalt (survey)
#1E488F
ΔE00 5.42
Darkslateblue
#483D8B
ΔE00 5.56
Blue Blue
#2242C7
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30409C #9C8C30
analogous
#30769C #30409C #56309C
triadic
#30409C #9C3040 #409C30
tetradic
#30409C #9C3076 #9C8C30 #309C56
square
#30409C #9C3076 #9C8C30 #309C56
split-complementary
#30409C #9C5630 #769C30
monochromatic
#131A3E #222D6D #30409C #4457C5 #7381D4
Accessibility & contrast
On white
8.98
#30409C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#30409C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30409C
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30409C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30409C | 1.00 | 8.98 | 2.34 | 8.98 |
| #FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#00449A
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #30409c; /* rgb */ color: rgb(48, 64, 156); /* oklch */ color: oklch(41.6% 0.150 270.9);
Tailwind
colors: {
custom: {
50: '#7674ba',
500: '#30409c',
950: '#000000',
},
}SCSS
$custom: #30409c; $custom-light: #7674ba; $custom-dark: #000000;
JSON
{
"hex": "#30409c",
"rgb": {
"r": 48,
"g": 64,
"b": 156
},
"hsl": {
"h": 231.111,
"s": 52.941,
"l": 40
},
"oklch": {
"l": 0.41584,
"c": 0.15018,
"h": 270.9
},
"luminance": 0.06695
}Semantic roles & 50–950 ramp
primary
#30409C
secondary
#BCB06C
accent
#C74BDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81