#304693#304693
#304693 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.129 H 268.4°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #304693 |
|---|---|
| RGB | rgb(48, 70, 147) |
| HSL | hsl(227, 51%, 38%) |
| HSV | hsv(227, 67%, 58%) |
| CMYK | cmyk(67.3%, 52.4%, 0%, 42.4%) |
| CIE-LAB | lab(32.07, 17.93, -45.08) |
| CIE-LCH | lch(32.07, 48.52, 291.68°) |
| OKLab | oklab(42.1% -0.0037 -0.1294) |
| OKLCH | oklch(42.1% 0.129 268.4) |
| XYZ | xyz(8.6737, 7.1145, 28.5142) |
| Luminance | 0.0712 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.18
Cobalt
#0047AB
ΔE00 4.37
Blueberry
#464196
ΔE00 5.06
Darkish Blue
#014182
ΔE00 5.54
Sapphire (survey)
#2138AB
ΔE00 6.06
Dusk Blue
#26538D
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#304693 #937D30
analogous
#307793 #304693 #4C3093
triadic
#304693 #933046 #469330
tetradic
#304693 #933077 #937D30 #30934C
square
#304693 #933077 #937D30 #30934C
split-complementary
#304693 #934C30 #779330
monochromatic
#121A37 #213065 #304693 #405CC1 #6E84D0
Accessibility & contrast
On white
8.67
#304693 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#304693 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #304693
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##304693 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##304693 | 1.00 | 8.67 | 2.42 | 8.67 |
| #FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#185096
Deuteranopia (green-blind)
#004791
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #304693; /* rgb */ color: rgb(48, 70, 147); /* oklch */ color: oklch(42.1% 0.129 268.4);
Tailwind
colors: {
custom: {
50: '#7479b3',
500: '#304693',
950: '#000000',
},
}SCSS
$custom: #304693; $custom-light: #7479b3; $custom-dark: #000000;
JSON
{
"hex": "#304693",
"rgb": {
"r": 48,
"g": 70,
"b": 147
},
"hsl": {
"h": 226.667,
"s": 50.769,
"l": 38.235
},
"oklch": {
"l": 0.42096,
"c": 0.12942,
"h": 268.4
},
"luminance": 0.07115
}Semantic roles & 50–950 ramp
primary
#304693
secondary
#B7A568
accent
#BB4EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80