#30498D#30498D
#30498D is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.3% C 0.117 H 266.3°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #30498D |
|---|---|
| RGB | rgb(48, 73, 141) |
| HSL | hsl(224, 49%, 37%) |
| HSV | hsv(224, 66%, 55%) |
| CMYK | cmyk(66%, 48.2%, 0%, 44.7%) |
| CIE-LAB | lab(32.52, 13.66, -40.69) |
| CIE-LCH | lch(32.52, 42.92, 288.56°) |
| OKLab | oklab(42.31% -0.0075 -0.1164) |
| OKLCH | oklch(42.31% 0.117 266.3) |
| XYZ | xyz(8.4075, 7.3158, 26.1632) |
| Luminance | 0.0732 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.42
Dusk Blue
#26538D
ΔE00 4.82
Cobalt
#0047AB
ΔE00 4.84
Darkish Blue
#014182
ΔE00 4.99
Twilight Blue
#0A437A
ΔE00 5.51
Denim Blue
#3B5B92
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30498D #8D7430
analogous
#30788D #30498D #46308D
triadic
#30498D #8D3049 #498D30
tetradic
#30498D #8D3078 #8D7430 #308D46
square
#30498D #8D3078 #8D7430 #308D46
split-complementary
#30498D #8D4630 #788D30
monochromatic
#111A32 #20315F #30498D #4061BB #6B85CD
Accessibility & contrast
On white
8.52
#30498D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#30498D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30498D
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30498D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30498D | 1.00 | 8.52 | 2.46 | 8.52 |
| #FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#275190
Deuteranopia (green-blind)
#15498C
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #30498d; /* rgb */ color: rgb(48, 73, 141); /* oklch */ color: oklch(42.3% 0.117 266.3);
Tailwind
colors: {
custom: {
50: '#727baf',
500: '#30498d',
950: '#000000',
},
}SCSS
$custom: #30498d; $custom-light: #727baf; $custom-dark: #000000;
JSON
{
"hex": "#30498d",
"rgb": {
"r": 48,
"g": 73,
"b": 141
},
"hsl": {
"h": 223.871,
"s": 49.206,
"l": 37.059
},
"oklch": {
"l": 0.42306,
"c": 0.11664,
"h": 266.3
},
"luminance": 0.07317
}Semantic roles & 50–950 ramp
primary
#30498D
secondary
#B49F65
accent
#B44FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090910
muted
#7B7B7F