#304199#304199
#304199 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.145 H 270.6°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #304199 |
|---|---|
| RGB | rgb(48, 65, 153) |
| HSL | hsl(230, 52%, 39%) |
| HSV | hsv(230, 69%, 60%) |
| CMYK | cmyk(68.6%, 57.5%, 0%, 40%) |
| CIE-LAB | lab(31.13, 23.52, -50.25) |
| CIE-LCH | lch(31.13, 55.48, 295.09°) |
| OKLab | oklab(41.53% 0.0014 -0.1446) |
| OKLCH | oklch(41.53% 0.145 270.6) |
| XYZ | xyz(8.8570, 6.7080, 30.9588) |
| Luminance | 0.0671 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.89
Sapphire (survey)
#2138AB
ΔE00 4.05
Cobalt
#0047AB
ΔE00 4.72
Cobalt (survey)
#1E488F
ΔE00 4.92
Darkslateblue
#483D8B
ΔE00 5.56
Blue Blue
#2242C7
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#304199 #998830
analogous
#307699 #304199 #543099
triadic
#304199 #993041 #419930
tetradic
#304199 #993076 #998830 #309954
square
#304199 #993076 #998830 #309954
split-complementary
#304199 #995430 #769930
monochromatic
#13193C #212D6A #304199 #4257C4 #7181D2
Accessibility & contrast
On white
8.97
#304199 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#304199 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #304199
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##304199 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##304199 | 1.00 | 8.97 | 2.34 | 8.97 |
| #FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #304199; /* rgb */ color: rgb(48, 65, 153); /* oklch */ color: oklch(41.5% 0.145 270.6);
Tailwind
colors: {
custom: {
50: '#7575b8',
500: '#304199',
950: '#000000',
},
}SCSS
$custom: #304199; $custom-light: #7575b8; $custom-dark: #000000;
JSON
{
"hex": "#304199",
"rgb": {
"r": 48,
"g": 65,
"b": 153
},
"hsl": {
"h": 230.286,
"s": 52.239,
"l": 39.412
},
"oklch": {
"l": 0.41534,
"c": 0.14465,
"h": 270.6
},
"luminance": 0.06709
}Semantic roles & 50–950 ramp
primary
#304199
secondary
#BAAD6B
accent
#C44CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80