#305891#305891
#305891 is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.0% C 0.104 H 257.5°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #305891 |
|---|---|
| RGB | rgb(48, 88, 145) |
| HSL | hsl(215, 50%, 38%) |
| HSV | hsv(215, 67%, 57%) |
| CMYK | cmyk(66.9%, 39.3%, 0%, 43.1%) |
| CIE-LAB | lab(37.21, 5.25, -35.64) |
| CIE-LCH | lch(37.21, 36.02, 278.38°) |
| OKLab | oklab(46.01% -0.0225 -0.1013) |
| OKLCH | oklch(46.01% 0.104 257.5) |
| XYZ | xyz(9.8176, 9.6512, 28.1280) |
| Luminance | 0.0965 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 1.83
Dusk Blue
#26538D
ΔE00 1.86
Light Navy Blue
#2E5A88
ΔE00 2.18
Light Navy
#155084
ΔE00 4.15
Dusky Blue
#475F94
ΔE00 4.24
Denim (survey)
#3B638C
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305891 #916930
analogous
#308891 #305891 #393091
triadic
#305891 #913058 #589130
tetradic
#305891 #913088 #916930 #309139
square
#305891 #913088 #916930 #309139
split-complementary
#305891 #913930 #889130
monochromatic
#122035 #213C63 #305891 #3F74BF #6D95CF
Accessibility & contrast
On white
7.17
#305891 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#305891 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #305891
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305891 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305891 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F5C93
Deuteranopia (green-blind)
#315390
Tritanopia (blue-blind)
#00656D
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #305891; /* rgb */ color: rgb(48, 88, 145); /* oklch */ color: oklch(46.0% 0.104 257.5);
Tailwind
colors: {
custom: {
50: '#7386b1',
500: '#305891',
950: '#000000',
},
}SCSS
$custom: #305891; $custom-light: #7386b1; $custom-dark: #000000;
JSON
{
"hex": "#305891",
"rgb": {
"r": 48,
"g": 88,
"b": 145
},
"hsl": {
"h": 215.258,
"s": 50.259,
"l": 37.843
},
"oklch": {
"l": 0.46006,
"c": 0.10382,
"h": 257.5
},
"luminance": 0.09652
}Semantic roles & 50–950 ramp
primary
#305891
secondary
#B69567
accent
#A04EDA
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B11
muted
#7B7C80