#304E99#304E99
#304E99 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.3% C 0.128 H 265.2°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #304E99 |
|---|---|
| RGB | rgb(48, 78, 153) |
| HSL | hsl(223, 52%, 39%) |
| HSV | hsv(223, 69%, 60%) |
| CMYK | cmyk(68.6%, 49%, 0%, 40%) |
| CIE-LAB | lab(34.75, 14.82, -44.40) |
| CIE-LCH | lch(34.75, 46.81, 288.46°) |
| OKLab | oklab(44.27% -0.0107 -0.1272) |
| OKLCH | oklch(44.27% 0.128 265.2) |
| XYZ | xyz(9.6911, 8.3761, 31.2368) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.89
Dusk Blue
#26538D
ΔE00 3.87
Cobalt
#0047AB
ΔE00 3.92
Denim Blue
#3B5B92
ΔE00 4.56
Sapphire
#0F52BA
ΔE00 4.71
Light Navy Blue
#2E5A88
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#304E99 #997B30
analogous
#308399 #304E99 #473099
triadic
#304E99 #99304E #4E9930
tetradic
#304E99 #993083 #997B30 #309947
square
#304E99 #993083 #997B30 #309947
split-complementary
#304E99 #994730 #839930
monochromatic
#131F3C #21366A #304E99 #4267C4 #718DD2
Accessibility & contrast
On white
7.85
#304E99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#304E99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #304E99
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##304E99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##304E99 | 1.00 | 7.85 | 2.68 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26579C
Deuteranopia (green-blind)
#0C4D97
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #304e99; /* rgb */ color: rgb(48, 78, 153); /* oklch */ color: oklch(44.3% 0.128 265.2);
Tailwind
colors: {
custom: {
50: '#757fb7',
500: '#304e99',
950: '#000000',
},
}SCSS
$custom: #304e99; $custom-light: #757fb7; $custom-dark: #000000;
JSON
{
"hex": "#304e99",
"rgb": {
"r": 48,
"g": 78,
"b": 153
},
"hsl": {
"h": 222.857,
"s": 52.239,
"l": 39.412
},
"oklch": {
"l": 0.44272,
"c": 0.12768,
"h": 265.2
},
"luminance": 0.08377
}Semantic roles & 50–950 ramp
primary
#304E99
secondary
#BAA36B
accent
#B34CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80