#304095#304095
#304095 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.140 H 270.9°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #304095 |
|---|---|
| RGB | rgb(48, 64, 149) |
| HSL | hsl(230, 51%, 39%) |
| HSV | hsv(230, 68%, 58%) |
| CMYK | cmyk(67.8%, 57%, 0%, 41.6%) |
| CIE-LAB | lab(30.55, 22.71, -48.75) |
| CIE-LCH | lch(30.55, 53.78, 294.98°) |
| OKLab | oklab(41% 0.0021 -0.1402) |
| OKLCH | oklch(41% 0.14 270.9) |
| XYZ | xyz(8.4753, 6.4643, 29.2290) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.82
Sapphire (survey)
#2138AB
ΔE00 4.33
Cobalt (survey)
#1E488F
ΔE00 4.95
Cobalt
#0047AB
ΔE00 5.16
Darkslateblue
#483D8B
ΔE00 5.27
Darkish Blue
#014182
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#304095 #958530
analogous
#307295 #304095 #523095
triadic
#304095 #953040 #409530
tetradic
#304095 #953072 #958530 #309552
square
#304095 #953072 #958530 #309552
split-complementary
#304095 #955230 #729530
monochromatic
#121838 #212C67 #304095 #4155C2 #6F7ED1
Accessibility & contrast
On white
9.16
#304095 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#304095 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #304095
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##304095 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##304095 | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#004493
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #304095; /* rgb */ color: rgb(48, 64, 149); /* oklch */ color: oklch(41.0% 0.140 270.9);
Tailwind
colors: {
custom: {
50: '#7574b5',
500: '#304095',
950: '#000000',
},
}SCSS
$custom: #304095; $custom-light: #7574b5; $custom-dark: #000000;
JSON
{
"hex": "#304095",
"rgb": {
"r": 48,
"g": 64,
"b": 149
},
"hsl": {
"h": 230.495,
"s": 51.269,
"l": 38.627
},
"oklch": {
"l": 0.41004,
"c": 0.14026,
"h": 270.9
},
"luminance": 0.06465
}Semantic roles & 50–950 ramp
primary
#304095
secondary
#B8AC69
accent
#C44DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80