#305790#305790
#305790 is a mid, moderate blue. Relative luminance 0.095; OKLCH L 45.7% C 0.104 H 257.9°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #305790 |
|---|---|
| RGB | rgb(48, 87, 144) |
| HSL | hsl(216, 50%, 38%) |
| HSV | hsv(216, 67%, 56%) |
| CMYK | cmyk(66.7%, 39.6%, 0%, 43.5%) |
| CIE-LAB | lab(36.85, 5.53, -35.60) |
| CIE-LCH | lch(36.85, 36.03, 278.83°) |
| OKLab | oklab(45.71% -0.0217 -0.1013) |
| OKLCH | oklch(45.71% 0.104 257.9) |
| XYZ | xyz(9.6594, 9.4574, 27.6966) |
| Luminance | 0.0946 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.64
Denim Blue
#3B5B92
ΔE00 1.93
Light Navy Blue
#2E5A88
ΔE00 2.37
Light Navy
#155084
ΔE00 4.04
Dusky Blue
#475F94
ΔE00 4.32
Denim (survey)
#3B638C
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305790 #906930
analogous
#308790 #305790 #393090
triadic
#305790 #903057 #579030
tetradic
#305790 #903087 #906930 #309039
square
#305790 #903087 #906930 #309039
split-complementary
#305790 #903930 #879030
monochromatic
#112034 #213B62 #305790 #3F73BE #6C94CE
Accessibility & contrast
On white
7.26
#305790 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#305790 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #305790
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305790 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305790 | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E5C92
Deuteranopia (green-blind)
#30538F
Tritanopia (blue-blind)
#00646C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #305790; /* rgb */ color: rgb(48, 87, 144); /* oklch */ color: oklch(45.7% 0.104 257.9);
Tailwind
colors: {
custom: {
50: '#7386b1',
500: '#305790',
950: '#000000',
},
}SCSS
$custom: #305790; $custom-light: #7386b1; $custom-dark: #000000;
JSON
{
"hex": "#305790",
"rgb": {
"r": 48,
"g": 87,
"b": 144
},
"hsl": {
"h": 215.625,
"s": 50,
"l": 37.647
},
"oklch": {
"l": 0.45708,
"c": 0.10355,
"h": 257.9
},
"luminance": 0.09458
}Semantic roles & 50–950 ramp
primary
#305790
secondary
#B59566
accent
#A14EDA
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B10
muted
#7B7C7F