#304F97#304F97
#304F97 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.4% C 0.123 H 264.4°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #304F97 |
|---|---|
| RGB | rgb(48, 79, 151) |
| HSL | hsl(222, 52%, 39%) |
| HSV | hsv(222, 68%, 59%) |
| CMYK | cmyk(68.2%, 47.7%, 0%, 40.8%) |
| CIE-LAB | lab(34.91, 13.40, -42.94) |
| CIE-LCH | lch(34.91, 44.98, 287.33°) |
| OKLab | oklab(44.35% -0.012 -0.1229) |
| OKLCH | oklch(44.35% 0.124 264.4) |
| XYZ | xyz(9.5989, 8.4538, 30.3980) |
| Luminance | 0.0846 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.87
Dusk Blue
#26538D
ΔE00 3.41
Denim Blue
#3B5B92
ΔE00 4.15
Cobalt
#0047AB
ΔE00 4.22
Sapphire
#0F52BA
ΔE00 4.79
Light Navy Blue
#2E5A88
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#304F97 #977830
analogous
#308397 #304F97 #453097
triadic
#304F97 #97304F #4F9730
tetradic
#304F97 #973083 #977830 #309745
square
#304F97 #973083 #977830 #309745
split-complementary
#304F97 #974530 #839730
monochromatic
#121E3A #213769 #304F97 #4168C3 #708DD2
Accessibility & contrast
On white
7.80
#304F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#304F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #304F97
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##304F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##304F97 | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A579A
Deuteranopia (green-blind)
#154E96
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #304f97; /* rgb */ color: rgb(48, 79, 151); /* oklch */ color: oklch(44.4% 0.123 264.4);
Tailwind
colors: {
custom: {
50: '#747fb6',
500: '#304f97',
950: '#000000',
},
}SCSS
$custom: #304f97; $custom-light: #747fb6; $custom-dark: #000000;
JSON
{
"hex": "#304f97",
"rgb": {
"r": 48,
"g": 79,
"b": 151
},
"hsl": {
"h": 221.942,
"s": 51.759,
"l": 39.02
},
"oklch": {
"l": 0.4435,
"c": 0.1235,
"h": 264.4
},
"luminance": 0.08455
}Semantic roles & 50–950 ramp
primary
#304F97
secondary
#B9A16A
accent
#B04DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80