#30509F#30509F
#30509F is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.1% C 0.134 H 264.9°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #30509F |
|---|---|
| RGB | rgb(48, 80, 159) |
| HSL | hsl(223, 54%, 41%) |
| HSV | hsv(223, 70%, 62%) |
| CMYK | cmyk(69.8%, 49.7%, 0%, 37.6%) |
| CIE-LAB | lab(35.73, 15.75, -46.45) |
| CIE-LCH | lch(35.73, 49.04, 288.73°) |
| OKLab | oklab(45.15% -0.0118 -0.1332) |
| OKLCH | oklch(45.15% 0.134 264.9) |
| XYZ | xyz(10.3434, 8.8679, 33.9607) |
| Luminance | 0.0887 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.61
Cobalt
#0047AB
ΔE00 3.83
Sapphire
#0F52BA
ΔE00 3.85
Dusk Blue
#26538D
ΔE00 3.92
Denim Blue
#3B5B92
ΔE00 4.24
Light Navy Blue
#2E5A88
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30509F #9F7F30
analogous
#30879F #30509F #48309F
triadic
#30509F #9F3050 #509F30
tetradic
#30509F #9F3087 #9F7F30 #309F48
square
#30509F #9F3087 #9F7F30 #309F48
split-complementary
#30509F #9F4830 #879F30
monochromatic
#142141 #223870 #30509F #456BC7 #7490D5
Accessibility & contrast
On white
7.57
#30509F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#30509F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30509F
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30509F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30509F | 1.00 | 7.57 | 2.77 | 7.57 |
| #FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2459A2
Deuteranopia (green-blind)
#034F9D
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #30509f; /* rgb */ color: rgb(48, 80, 159); /* oklch */ color: oklch(45.1% 0.134 264.9);
Tailwind
colors: {
custom: {
50: '#7680bc',
500: '#30509f',
950: '#000000',
},
}SCSS
$custom: #30509f; $custom-light: #7680bc; $custom-dark: #000000;
JSON
{
"hex": "#30509f",
"rgb": {
"r": 48,
"g": 80,
"b": 159
},
"hsl": {
"h": 222.703,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.45145,
"c": 0.13374,
"h": 264.9
},
"luminance": 0.08869
}Semantic roles & 50–950 ramp
primary
#30509F
secondary
#BDA66E
accent
#B34BDD
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81