#304C99#304C99
#304C99 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.8% C 0.130 H 266.1°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #304C99 |
|---|---|
| RGB | rgb(48, 76, 153) |
| HSL | hsl(224, 52%, 39%) |
| HSV | hsv(224, 69%, 60%) |
| CMYK | cmyk(68.6%, 50.3%, 0%, 40%) |
| CIE-LAB | lab(34.18, 16.15, -45.32) |
| CIE-LCH | lch(34.18, 48.11, 289.62°) |
| OKLab | oklab(43.84% -0.0088 -0.13) |
| OKLCH | oklch(43.84% 0.13 266.1) |
| XYZ | xyz(9.5511, 8.0962, 31.1902) |
| Luminance | 0.0810 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.82
Cobalt
#0047AB
ΔE00 3.72
Dusk Blue
#26538D
ΔE00 4.46
Sapphire
#0F52BA
ΔE00 5.02
Denim Blue
#3B5B92
ΔE00 5.24
Darkish Blue
#014182
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#304C99 #997D30
analogous
#308199 #304C99 #493099
triadic
#304C99 #99304C #4C9930
tetradic
#304C99 #993081 #997D30 #309949
square
#304C99 #993081 #997D30 #309949
split-complementary
#304C99 #994930 #819930
monochromatic
#131E3C #21356A #304C99 #4265C4 #718BD2
Accessibility & contrast
On white
8.02
#304C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#304C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #304C99
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##304C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##304C99 | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21559C
Deuteranopia (green-blind)
#014C97
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #304c99; /* rgb */ color: rgb(48, 76, 153); /* oklch */ color: oklch(43.8% 0.130 266.1);
Tailwind
colors: {
custom: {
50: '#757db8',
500: '#304c99',
950: '#000000',
},
}SCSS
$custom: #304c99; $custom-light: #757db8; $custom-dark: #000000;
JSON
{
"hex": "#304c99",
"rgb": {
"r": 48,
"g": 76,
"b": 153
},
"hsl": {
"h": 224,
"s": 52.239,
"l": 39.412
},
"oklch": {
"l": 0.43836,
"c": 0.13027,
"h": 266.1
},
"luminance": 0.08097
}Semantic roles & 50–950 ramp
primary
#304C99
secondary
#BAA56B
accent
#B54CDC
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090911
muted
#7B7B80