#304582#304582
#304582 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.6% C 0.106 H 267.3°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #304582 |
|---|---|
| RGB | rgb(48, 69, 130) |
| HSL | hsl(225, 46%, 35%) |
| HSV | hsv(225, 63%, 51%) |
| CMYK | cmyk(63.1%, 46.9%, 0%, 49%) |
| CIE-LAB | lab(30.63, 12.27, -36.93) |
| CIE-LCH | lch(30.63, 38.91, 288.38°) |
| OKLab | oklab(40.63% -0.0049 -0.1054) |
| OKLCH | oklch(40.63% 0.106 267.3) |
| XYZ | xyz(7.3749, 6.4957, 21.9799) |
| Luminance | 0.0650 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.50
Darkish Blue
#014182
ΔE00 4.83
Twilight Blue
#0A437A
ΔE00 5.27
Dusk Blue
#26538D
ΔE00 6.12
Twilight
#4E518B
ΔE00 6.29
Blueberry
#464196
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#304582 #826D30
analogous
#306E82 #304582 #443082
triadic
#304582 #823045 #458230
tetradic
#304582 #82306E #826D30 #308244
square
#304582 #82306E #826D30 #308244
split-complementary
#304582 #824430 #6E8230
monochromatic
#0F1629 #1F2D55 #304582 #415DAF #667FC6
Accessibility & contrast
On white
9.13
#304582 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#304582 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #304582
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##304582 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##304582 | 1.00 | 9.13 | 2.30 | 9.13 |
| #FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284C84
Deuteranopia (green-blind)
#1B4581
Tritanopia (blue-blind)
#00535D
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #304582; /* rgb */ color: rgb(48, 69, 130); /* oklch */ color: oklch(40.6% 0.106 267.3);
Tailwind
colors: {
custom: {
50: '#7178a7',
500: '#304582',
950: '#000000',
},
}SCSS
$custom: #304582; $custom-light: #7178a7; $custom-dark: #000000;
JSON
{
"hex": "#304582",
"rgb": {
"r": 48,
"g": 69,
"b": 130
},
"hsl": {
"h": 224.634,
"s": 46.067,
"l": 34.902
},
"oklch": {
"l": 0.40634,
"c": 0.10551,
"h": 267.3
},
"luminance": 0.06496
}Semantic roles & 50–950 ramp
primary
#304582
secondary
#AE9A60
accent
#B452D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F