#305FB7#305FB7
#305FB7 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.1% C 0.149 H 261.6°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #305FB7 |
|---|---|
| RGB | rgb(48, 95, 183) |
| HSL | hsl(219, 58%, 45%) |
| HSV | hsv(219, 74%, 72%) |
| CMYK | cmyk(73.8%, 48.1%, 0%, 28.2%) |
| CIE-LAB | lab(41.58, 14.96, -51.25) |
| CIE-LCH | lch(41.58, 53.39, 286.27°) |
| OKLab | oklab(50.13% -0.0218 -0.1471) |
| OKLCH | oklch(50.13% 0.149 261.6) |
| XYZ | xyz(13.8553, 12.2302, 46.4210) |
| Luminance | 0.1223 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.21
French Blue
#436BAD
ΔE00 4.29
Sapphire
#0F52BA
ΔE00 4.34
Denim Blue
#3B5B92
ΔE00 4.79
Mid Blue
#276AB3
ΔE00 4.94
Denim (survey)
#3B638C
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305FB7 #B78830
analogous
#30A3B7 #305FB7 #4430B7
triadic
#305FB7 #B7305F #5FB730
tetradic
#305FB7 #B730A3 #B78830 #30B744
square
#305FB7 #B730A3 #B78830 #30B744
split-complementary
#305FB7 #B74430 #A3B730
monochromatic
#172D56 #234687 #305FB7 #527FD2 #83A3DE
Accessibility & contrast
On white
6.09
#305FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#305FB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #305FB7
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305FB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305FB7 | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F69BA
Deuteranopia (green-blind)
#055CB5
Tritanopia (blue-blind)
#007482
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #305fb7; /* rgb */ color: rgb(48, 95, 183); /* oklch */ color: oklch(50.1% 0.149 261.6);
Tailwind
colors: {
custom: {
50: '#7a8bcd',
500: '#305fb7',
950: '#000000',
},
}SCSS
$custom: #305fb7; $custom-light: #7a8bcd; $custom-dark: #000000;
JSON
{
"hex": "#305fb7",
"rgb": {
"r": 48,
"g": 95,
"b": 183
},
"hsl": {
"h": 219.111,
"s": 58.442,
"l": 45.294
},
"oklch": {
"l": 0.50131,
"c": 0.14871,
"h": 261.6
},
"luminance": 0.12232
}Semantic roles & 50–950 ramp
primary
#305FB7
secondary
#C8AD7B
accent
#AC46E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C13
muted
#7C7D82