#304699#304699
#304699 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.138 H 268.7°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #304699 |
|---|---|
| RGB | rgb(48, 70, 153) |
| HSL | hsl(227, 52%, 39%) |
| HSV | hsv(227, 69%, 60%) |
| CMYK | cmyk(68.6%, 54.2%, 0%, 40%) |
| CIE-LAB | lab(32.50, 20.17, -48.04) |
| CIE-LCH | lch(32.50, 52.10, 292.78°) |
| OKLab | oklab(42.56% -0.0031 -0.1381) |
| OKLCH | oklch(42.56% 0.138 268.7) |
| XYZ | xyz(9.1569, 7.3077, 31.0588) |
| Luminance | 0.0731 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.62
Cobalt
#0047AB
ΔE00 3.88
Blueberry
#464196
ΔE00 4.82
Sapphire (survey)
#2138AB
ΔE00 5.39
Darkish Blue
#014182
ΔE00 6.06
Sapphire
#0F52BA
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#304699 #998330
analogous
#307B99 #304699 #4F3099
triadic
#304699 #993046 #469930
tetradic
#304699 #99307B #998330 #30994F
square
#304699 #99307B #998330 #30994F
split-complementary
#304699 #994F30 #7B9930
monochromatic
#131B3C #21316A #304699 #425DC4 #7185D2
Accessibility & contrast
On white
8.53
#304699 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#304699 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #304699
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##304699 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##304699 | 1.00 | 8.53 | 2.46 | 8.53 |
| #FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C519C
Deuteranopia (green-blind)
#004897
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #304699; /* rgb */ color: rgb(48, 70, 153); /* oklch */ color: oklch(42.6% 0.138 268.7);
Tailwind
colors: {
custom: {
50: '#7579b8',
500: '#304699',
950: '#000000',
},
}SCSS
$custom: #304699; $custom-light: #7579b8; $custom-dark: #000000;
JSON
{
"hex": "#304699",
"rgb": {
"r": 48,
"g": 70,
"b": 153
},
"hsl": {
"h": 227.429,
"s": 52.239,
"l": 39.412
},
"oklch": {
"l": 0.42559,
"c": 0.1381,
"h": 268.7
},
"luminance": 0.07309
}Semantic roles & 50–950 ramp
primary
#304699
secondary
#BAA96B
accent
#BE4CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80