#304F9F#304F9F
#304F9F is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.9% C 0.135 H 265.4°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #304F9F |
|---|---|
| RGB | rgb(48, 79, 159) |
| HSL | hsl(223, 54%, 41%) |
| HSV | hsv(223, 70%, 62%) |
| CMYK | cmyk(69.8%, 50.3%, 0%, 37.6%) |
| CIE-LAB | lab(35.44, 16.41, -46.90) |
| CIE-LCH | lch(35.44, 49.69, 289.28°) |
| OKLab | oklab(44.93% -0.0109 -0.1346) |
| OKLCH | oklch(44.93% 0.135 265.4) |
| XYZ | xyz(10.2707, 8.7225, 33.9365) |
| Luminance | 0.0872 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.51
Cobalt
#0047AB
ΔE00 3.66
Sapphire
#0F52BA
ΔE00 3.98
Dusk Blue
#26538D
ΔE00 4.16
Denim Blue
#3B5B92
ΔE00 4.55
Light Navy Blue
#2E5A88
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#304F9F #9F8030
analogous
#30869F #304F9F #48309F
triadic
#304F9F #9F304F #4F9F30
tetradic
#304F9F #9F3086 #9F8030 #309F48
square
#304F9F #9F3086 #9F8030 #309F48
split-complementary
#304F9F #9F4830 #869F30
monochromatic
#142041 #223870 #304F9F #4569C7 #748FD5
Accessibility & contrast
On white
7.65
#304F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#304F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #304F9F
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##304F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##304F9F | 1.00 | 7.65 | 2.74 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2259A2
Deuteranopia (green-blind)
#004F9D
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #304f9f; /* rgb */ color: rgb(48, 79, 159); /* oklch */ color: oklch(44.9% 0.135 265.4);
Tailwind
colors: {
custom: {
50: '#767fbc',
500: '#304f9f',
950: '#000000',
},
}SCSS
$custom: #304f9f; $custom-light: #767fbc; $custom-dark: #000000;
JSON
{
"hex": "#304f9f",
"rgb": {
"r": 48,
"g": 79,
"b": 159
},
"hsl": {
"h": 223.243,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.44929,
"c": 0.13502,
"h": 265.4
},
"luminance": 0.08724
}Semantic roles & 50–950 ramp
primary
#304F9F
secondary
#BDA76E
accent
#B44BDD
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81