#305FB6#305FB6
#305FB6 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.1% C 0.147 H 261.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #305FB6 |
|---|---|
| RGB | rgb(48, 95, 182) |
| HSL | hsl(219, 58%, 45%) |
| HSV | hsv(219, 74%, 71%) |
| CMYK | cmyk(73.6%, 47.8%, 0%, 28.6%) |
| CIE-LAB | lab(41.51, 14.58, -50.77) |
| CIE-LCH | lch(41.51, 52.82, 286.02°) |
| OKLab | oklab(50.06% -0.022 -0.1457) |
| OKLCH | oklch(50.06% 0.147 261.4) |
| XYZ | xyz(13.7516, 12.1887, 45.8748) |
| Luminance | 0.1219 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.19
French Blue
#436BAD
ΔE00 4.27
Sapphire
#0F52BA
ΔE00 4.35
Denim Blue
#3B5B92
ΔE00 4.68
Mid Blue
#276AB3
ΔE00 4.89
Denim (survey)
#3B638C
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305FB6 #B68730
analogous
#30A2B6 #305FB6 #4430B6
triadic
#305FB6 #B6305F #5FB630
tetradic
#305FB6 #B630A2 #B68730 #30B644
square
#305FB6 #B630A2 #B68730 #30B644
split-complementary
#305FB6 #B64430 #A2B630
monochromatic
#162C55 #234686 #305FB6 #527FD1 #82A2DE
Accessibility & contrast
On white
6.11
#305FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#305FB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #305FB6
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305FB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305FB6 | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3068B9
Deuteranopia (green-blind)
#095CB4
Tritanopia (blue-blind)
#007482
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #305fb6; /* rgb */ color: rgb(48, 95, 182); /* oklch */ color: oklch(50.1% 0.147 261.4);
Tailwind
colors: {
custom: {
50: '#7a8bcc',
500: '#305fb6',
950: '#000000',
},
}SCSS
$custom: #305fb6; $custom-light: #7a8bcc; $custom-dark: #000000;
JSON
{
"hex": "#305fb6",
"rgb": {
"r": 48,
"g": 95,
"b": 182
},
"hsl": {
"h": 218.955,
"s": 58.261,
"l": 45.098
},
"oklch": {
"l": 0.50061,
"c": 0.14733,
"h": 261.4
},
"luminance": 0.1219
}Semantic roles & 50–950 ramp
primary
#305FB6
secondary
#C7AC7B
accent
#AB46E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82