#304692#304692
#304692 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.0% C 0.128 H 268.3°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #304692 |
|---|---|
| RGB | rgb(48, 70, 146) |
| HSL | hsl(227, 51%, 38%) |
| HSV | hsv(227, 67%, 57%) |
| CMYK | cmyk(67.1%, 52.1%, 0%, 42.7%) |
| CIE-LAB | lab(32.00, 17.55, -44.59) |
| CIE-LCH | lch(32.00, 47.92, 291.49°) |
| OKLab | oklab(42.02% -0.0038 -0.1279) |
| OKLCH | oklch(42.02% 0.128 268.3) |
| XYZ | xyz(8.5956, 7.0832, 28.1028) |
| Luminance | 0.0708 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.13
Cobalt
#0047AB
ΔE00 4.47
Blueberry
#464196
ΔE00 5.12
Darkish Blue
#014182
ΔE00 5.46
Dusk Blue
#26538D
ΔE00 6.03
Sapphire (survey)
#2138AB
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#304692 #927C30
analogous
#307792 #304692 #4B3092
triadic
#304692 #923046 #469230
tetradic
#304692 #923077 #927C30 #30924B
square
#304692 #923077 #927C30 #30924B
split-complementary
#304692 #924B30 #779230
monochromatic
#121A36 #213064 #304692 #3F5CC0 #6D83CF
Accessibility & contrast
On white
8.69
#304692 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#304692 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #304692
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##304692 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##304692 | 1.00 | 8.69 | 2.42 | 8.69 |
| #FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A5095
Deuteranopia (green-blind)
#004790
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #304692; /* rgb */ color: rgb(48, 70, 146); /* oklch */ color: oklch(42.0% 0.128 268.3);
Tailwind
colors: {
custom: {
50: '#7479b2',
500: '#304692',
950: '#000000',
},
}SCSS
$custom: #304692; $custom-light: #7479b2; $custom-dark: #000000;
JSON
{
"hex": "#304692",
"rgb": {
"r": 48,
"g": 70,
"b": 146
},
"hsl": {
"h": 226.531,
"s": 50.515,
"l": 38.039
},
"oklch": {
"l": 0.4202,
"c": 0.12797,
"h": 268.3
},
"luminance": 0.07084
}Semantic roles & 50–950 ramp
primary
#304692
secondary
#B7A567
accent
#BB4EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80