#30489F#30489F
#30489F is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.4% C 0.144 H 268.2°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #30489F |
|---|---|
| RGB | rgb(48, 72, 159) |
| HSL | hsl(227, 54%, 41%) |
| HSV | hsv(227, 70%, 62%) |
| CMYK | cmyk(69.8%, 54.7%, 0%, 37.6%) |
| CIE-LAB | lab(33.49, 21.08, -50.06) |
| CIE-LCH | lch(33.49, 54.32, 292.83°) |
| OKLab | oklab(43.45% -0.0045 -0.144) |
| OKLCH | oklch(43.45% 0.144 268.2) |
| XYZ | xyz(9.7921, 7.7654, 33.7770) |
| Luminance | 0.0777 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.35
Cobalt (survey)
#1E488F
ΔE00 3.83
Blueberry
#464196
ΔE00 5.24
Sapphire
#0F52BA
ΔE00 5.39
Sapphire (survey)
#2138AB
ΔE00 5.46
Blue Blue
#2242C7
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30489F #9F8730
analogous
#307F9F #30489F #4F309F
triadic
#30489F #9F3048 #489F30
tetradic
#30489F #9F307F #9F8730 #309F4F
square
#30489F #9F307F #9F8730 #309F4F
split-complementary
#30489F #9F4F30 #7F9F30
monochromatic
#141D41 #223370 #30489F #4561C7 #7489D5
Accessibility & contrast
On white
8.22
#30489F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#30489F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30489F
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30489F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30489F | 1.00 | 8.22 | 2.55 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0654A2
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #30489f; /* rgb */ color: rgb(48, 72, 159); /* oklch */ color: oklch(43.4% 0.144 268.2);
Tailwind
colors: {
custom: {
50: '#767abc',
500: '#30489f',
950: '#000000',
},
}SCSS
$custom: #30489f; $custom-light: #767abc; $custom-dark: #000000;
JSON
{
"hex": "#30489f",
"rgb": {
"r": 48,
"g": 72,
"b": 159
},
"hsl": {
"h": 227.027,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.43447,
"c": 0.14406,
"h": 268.2
},
"luminance": 0.07766
}Semantic roles & 50–950 ramp
primary
#30489F
secondary
#BDAC6E
accent
#BD4BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81