#30409F#30409F
#30409F is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.8% C 0.154 H 270.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #30409F |
|---|---|
| RGB | rgb(48, 64, 159) |
| HSL | hsl(231, 54%, 41%) |
| HSV | hsv(231, 70%, 62%) |
| CMYK | cmyk(69.8%, 59.7%, 0%, 37.6%) |
| CIE-LAB | lab(31.34, 26.41, -53.55) |
| CIE-LCH | lch(31.34, 59.71, 296.25°) |
| OKLab | oklab(41.84% 0.0024 -0.1543) |
| OKLCH | oklch(41.84% 0.154 270.9) |
| XYZ | xyz(9.3082, 6.7975, 33.6157) |
| Luminance | 0.0680 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.14
Blueberry
#464196
ΔE00 3.89
Cobalt
#0047AB
ΔE00 4.74
Blue Blue
#2242C7
ΔE00 5.41
Cobalt (survey)
#1E488F
ΔE00 5.67
Darkslateblue
#483D8B
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30409F #9F8F30
analogous
#30779F #30409F #57309F
triadic
#30409F #9F3040 #409F30
tetradic
#30409F #9F3077 #9F8F30 #309F57
square
#30409F #9F3077 #9F8F30 #309F57
split-complementary
#30409F #9F5730 #779F30
monochromatic
#141A41 #222D70 #30409F #4558C7 #7482D5
Accessibility & contrast
On white
8.90
#30409F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#30409F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30409F
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30409F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30409F | 1.00 | 8.90 | 2.36 | 8.90 |
| #FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #30409f; /* rgb */ color: rgb(48, 64, 159); /* oklch */ color: oklch(41.8% 0.154 270.9);
Tailwind
colors: {
custom: {
50: '#7774bc',
500: '#30409f',
950: '#000000',
},
}SCSS
$custom: #30409f; $custom-light: #7774bc; $custom-dark: #000000;
JSON
{
"hex": "#30409f",
"rgb": {
"r": 48,
"g": 64,
"b": 159
},
"hsl": {
"h": 231.351,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.41838,
"c": 0.15437,
"h": 270.9
},
"luminance": 0.06798
}Semantic roles & 50–950 ramp
primary
#30409F
secondary
#BDB26E
accent
#C84BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81