#304F8F#304F8F
#304F8F is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.8% C 0.112 H 263.1°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #304F8F |
|---|---|
| RGB | rgb(48, 79, 143) |
| HSL | hsl(220, 50%, 37%) |
| HSV | hsv(220, 66%, 56%) |
| CMYK | cmyk(66.4%, 44.8%, 0%, 43.9%) |
| CIE-LAB | lab(34.40, 10.40, -38.89) |
| CIE-LCH | lch(34.40, 40.26, 284.98°) |
| OKLab | oklab(43.79% -0.0134 -0.111) |
| OKLCH | oklch(43.79% 0.112 263.1) |
| XYZ | xyz(8.9711, 8.2027, 27.0918) |
| Luminance | 0.0820 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.64
Dusk Blue
#26538D
ΔE00 2.86
Denim Blue
#3B5B92
ΔE00 3.98
Light Navy
#155084
ΔE00 4.91
Cobalt
#0047AB
ΔE00 4.95
Light Navy Blue
#2E5A88
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#304F8F #8F7030
analogous
#307F8F #304F8F #41308F
triadic
#304F8F #8F304F #4F8F30
tetradic
#304F8F #8F307F #8F7030 #308F41
square
#304F8F #8F307F #8F7030 #308F41
split-complementary
#304F8F #8F4130 #7F8F30
monochromatic
#111C33 #213661 #304F8F #3F68BD #6C8CCE
Accessibility & contrast
On white
7.95
#304F8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#304F8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #304F8F
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##304F8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##304F8F | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#315691
Deuteranopia (green-blind)
#214D8E
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #304f8f; /* rgb */ color: rgb(48, 79, 143); /* oklch */ color: oklch(43.8% 0.112 263.1);
Tailwind
colors: {
custom: {
50: '#737fb0',
500: '#304f8f',
950: '#000000',
},
}SCSS
$custom: #304f8f; $custom-light: #737fb0; $custom-dark: #000000;
JSON
{
"hex": "#304f8f",
"rgb": {
"r": 48,
"g": 79,
"b": 143
},
"hsl": {
"h": 220.421,
"s": 49.738,
"l": 37.451
},
"oklch": {
"l": 0.43794,
"c": 0.11184,
"h": 263.1
},
"luminance": 0.08204
}Semantic roles & 50–950 ramp
primary
#304F8F
secondary
#B59B66
accent
#AC4FD9
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090A10
muted
#7B7C7F