#304F99#304F99
#304F99 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.5% C 0.126 H 264.7°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #304F99 |
|---|---|
| RGB | rgb(48, 79, 153) |
| HSL | hsl(222, 52%, 39%) |
| HSV | hsv(222, 69%, 60%) |
| CMYK | cmyk(68.6%, 48.4%, 0%, 40%) |
| CIE-LAB | lab(35.04, 14.15, -43.94) |
| CIE-LCH | lch(35.04, 46.16, 287.85°) |
| OKLab | oklab(44.49% -0.0117 -0.1258) |
| OKLCH | oklch(44.49% 0.126 264.7) |
| XYZ | xyz(9.7627, 8.5193, 31.2607) |
| Luminance | 0.0852 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.00
Dusk Blue
#26538D
ΔE00 3.58
Cobalt
#0047AB
ΔE00 4.05
Denim Blue
#3B5B92
ΔE00 4.23
Sapphire
#0F52BA
ΔE00 4.58
Light Navy Blue
#2E5A88
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#304F99 #997A30
analogous
#308499 #304F99 #463099
triadic
#304F99 #99304F #4F9930
tetradic
#304F99 #993084 #997A30 #309946
square
#304F99 #993084 #997A30 #309946
split-complementary
#304F99 #994630 #849930
monochromatic
#131F3C #21376A #304F99 #4269C4 #718ED2
Accessibility & contrast
On white
7.77
#304F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#304F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #304F99
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##304F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##304F99 | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28589C
Deuteranopia (green-blind)
#114E97
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #304f99; /* rgb */ color: rgb(48, 79, 153); /* oklch */ color: oklch(44.5% 0.126 264.7);
Tailwind
colors: {
custom: {
50: '#757fb7',
500: '#304f99',
950: '#000000',
},
}SCSS
$custom: #304f99; $custom-light: #757fb7; $custom-dark: #000000;
JSON
{
"hex": "#304f99",
"rgb": {
"r": 48,
"g": 79,
"b": 153
},
"hsl": {
"h": 222.286,
"s": 52.239,
"l": 39.412
},
"oklch": {
"l": 0.44492,
"c": 0.12639,
"h": 264.7
},
"luminance": 0.0852
}Semantic roles & 50–950 ramp
primary
#304F99
secondary
#BAA36B
accent
#B14CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80