#304681#304681
#304681 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.8% C 0.103 H 266.5°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #304681 |
|---|---|
| RGB | rgb(48, 70, 129) |
| HSL | hsl(224, 46%, 35%) |
| HSV | hsv(224, 63%, 51%) |
| CMYK | cmyk(62.8%, 45.7%, 0%, 49.4%) |
| CIE-LAB | lab(30.86, 11.22, -35.94) |
| CIE-LCH | lch(30.86, 37.65, 287.35°) |
| OKLab | oklab(40.79% -0.0062 -0.1025) |
| OKLCH | oklch(40.79% 0.103 266.5) |
| XYZ | xyz(7.3702, 6.5930, 21.6488) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.38
Darkish Blue
#014182
ΔE00 4.74
Twilight Blue
#0A437A
ΔE00 5.08
Dusk Blue
#26538D
ΔE00 5.78
Twilight
#4E518B
ΔE00 6.27
Cobalt
#0047AB
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#304681 #816B30
analogous
#306F81 #304681 #433081
triadic
#304681 #813046 #468130
tetradic
#304681 #81306F #816B30 #308143
square
#304681 #81306F #816B30 #308143
split-complementary
#304681 #814330 #6F8130
monochromatic
#0F1628 #1F2E54 #304681 #415EAE #6680C6
Accessibility & contrast
On white
9.06
#304681 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#304681 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #304681
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##304681 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##304681 | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4D83
Deuteranopia (green-blind)
#1F4580
Tritanopia (blue-blind)
#00535D
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #304681; /* rgb */ color: rgb(48, 70, 129); /* oklch */ color: oklch(40.8% 0.103 266.5);
Tailwind
colors: {
custom: {
50: '#7079a6',
500: '#304681',
950: '#000000',
},
}SCSS
$custom: #304681; $custom-light: #7079a6; $custom-dark: #000000;
JSON
{
"hex": "#304681",
"rgb": {
"r": 48,
"g": 70,
"b": 129
},
"hsl": {
"h": 223.704,
"s": 45.763,
"l": 34.706
},
"oklch": {
"l": 0.40791,
"c": 0.10265,
"h": 266.5
},
"luminance": 0.06594
}Semantic roles & 50–950 ramp
primary
#304681
secondary
#AD9860
accent
#B252D5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F