#30458C#30458C
#30458C is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.4% C 0.120 H 268.3°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #30458C |
|---|---|
| RGB | rgb(48, 69, 140) |
| HSL | hsl(226, 49%, 37%) |
| HSV | hsv(226, 66%, 55%) |
| CMYK | cmyk(65.7%, 50.7%, 0%, 45.1%) |
| CIE-LAB | lab(31.29, 15.99, -42.04) |
| CIE-LCH | lch(31.29, 44.98, 290.82°) |
| OKLab | oklab(41.35% -0.0035 -0.1204) |
| OKLCH | oklch(41.35% 0.12 268.3) |
| XYZ | xyz(8.0791, 6.7773, 25.6883) |
| Luminance | 0.0678 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.20
Darkish Blue
#014182
ΔE00 5.16
Cobalt
#0047AB
ΔE00 5.19
Blueberry
#464196
ΔE00 5.30
Twilight Blue
#0A437A
ΔE00 5.89
Dusk Blue
#26538D
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30458C #8C7730
analogous
#30738C #30458C #49308C
triadic
#30458C #8C3045 #458C30
tetradic
#30458C #8C3073 #8C7730 #308C49
square
#30458C #8C3073 #8C7730 #308C49
split-complementary
#30458C #8C4930 #738C30
monochromatic
#111831 #202F5E #30458C #405BBA #6A81CC
Accessibility & contrast
On white
8.91
#30458C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#30458C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30458C
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30458C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30458C | 1.00 | 8.91 | 2.36 | 8.91 |
| #FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F4E8F
Deuteranopia (green-blind)
#08468B
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #30458c; /* rgb */ color: rgb(48, 69, 140); /* oklch */ color: oklch(41.4% 0.120 268.3);
Tailwind
colors: {
custom: {
50: '#7278ae',
500: '#30458c',
950: '#000000',
},
}SCSS
$custom: #30458c; $custom-light: #7278ae; $custom-dark: #000000;
JSON
{
"hex": "#30458c",
"rgb": {
"r": 48,
"g": 69,
"b": 140
},
"hsl": {
"h": 226.304,
"s": 48.936,
"l": 36.863
},
"oklch": {
"l": 0.41354,
"c": 0.12047,
"h": 268.3
},
"luminance": 0.06778
}Semantic roles & 50–950 ramp
primary
#30458C
secondary
#B3A164
accent
#B94FD8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F