#304E9F#304E9F
#304E9F is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.7% C 0.136 H 265.8°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #304E9F |
|---|---|
| RGB | rgb(48, 78, 159) |
| HSL | hsl(224, 54%, 41%) |
| HSV | hsv(224, 70%, 62%) |
| CMYK | cmyk(69.8%, 50.9%, 0%, 37.6%) |
| CIE-LAB | lab(35.16, 17.08, -47.36) |
| CIE-LCH | lch(35.16, 50.35, 289.83°) |
| OKLab | oklab(44.71% -0.0099 -0.1359) |
| OKLCH | oklch(44.71% 0.136 265.8) |
| XYZ | xyz(10.1991, 8.5793, 33.9126) |
| Luminance | 0.0858 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.44
Cobalt
#0047AB
ΔE00 3.51
Sapphire
#0F52BA
ΔE00 4.13
Dusk Blue
#26538D
ΔE00 4.41
Denim Blue
#3B5B92
ΔE00 4.88
Light Navy Blue
#2E5A88
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#304E9F #9F8130
analogous
#30859F #304E9F #4A309F
triadic
#304E9F #9F304E #4E9F30
tetradic
#304E9F #9F3085 #9F8130 #309F4A
square
#304E9F #9F3085 #9F8130 #309F4A
split-complementary
#304E9F #9F4A30 #859F30
monochromatic
#142041 #223770 #304E9F #4568C7 #748ED5
Accessibility & contrast
On white
7.73
#304E9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#304E9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #304E9F
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##304E9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##304E9F | 1.00 | 7.73 | 2.72 | 7.73 |
| #FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F58A2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #304e9f; /* rgb */ color: rgb(48, 78, 159); /* oklch */ color: oklch(44.7% 0.136 265.8);
Tailwind
colors: {
custom: {
50: '#767fbc',
500: '#304e9f',
950: '#000000',
},
}SCSS
$custom: #304e9f; $custom-light: #767fbc; $custom-dark: #000000;
JSON
{
"hex": "#304e9f",
"rgb": {
"r": 48,
"g": 78,
"b": 159
},
"hsl": {
"h": 223.784,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.44713,
"c": 0.1363,
"h": 265.8
},
"luminance": 0.0858
}Semantic roles & 50–950 ramp
primary
#304E9F
secondary
#BDA86E
accent
#B54BDD
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81