#305FB1#305FB1
#305FB1 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.7% C 0.140 H 260.7°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #305FB1 |
|---|---|
| RGB | rgb(48, 95, 177) |
| HSL | hsl(218, 57%, 44%) |
| HSV | hsv(218, 73%, 69%) |
| CMYK | cmyk(72.9%, 46.3%, 0%, 30.6%) |
| CIE-LAB | lab(41.19, 12.69, -48.35) |
| CIE-LCH | lch(41.19, 49.99, 284.71°) |
| OKLab | oklab(49.71% -0.0228 -0.1386) |
| OKLCH | oklch(49.71% 0.14 260.7) |
| XYZ | xyz(13.2441, 11.9857, 43.2019) |
| Luminance | 0.1199 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.19
Denim Blue
#3B5B92
ΔE00 4.17
French Blue
#436BAD
ΔE00 4.21
Sapphire
#0F52BA
ΔE00 4.46
Mid Blue
#276AB3
ΔE00 4.71
Denim (survey)
#3B638C
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305FB1 #B18230
analogous
#30A0B1 #305FB1 #4230B1
triadic
#305FB1 #B1305F #5FB130
tetradic
#305FB1 #B130A0 #B18230 #30B142
square
#305FB1 #B130A0 #B18230 #30B142
split-complementary
#305FB1 #B14230 #A0B130
monochromatic
#162B51 #234581 #305FB1 #4F7ECF #7FA1DC
Accessibility & contrast
On white
6.18
#305FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#305FB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #305FB1
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305FB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305FB1 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3467B4
Deuteranopia (green-blind)
#185CAF
Tritanopia (blue-blind)
#00727F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #305fb1; /* rgb */ color: rgb(48, 95, 177); /* oklch */ color: oklch(49.7% 0.140 260.7);
Tailwind
colors: {
custom: {
50: '#798bc9',
500: '#305fb1',
950: '#000000',
},
}SCSS
$custom: #305fb1; $custom-light: #798bc9; $custom-dark: #000000;
JSON
{
"hex": "#305fb1",
"rgb": {
"r": 48,
"g": 95,
"b": 177
},
"hsl": {
"h": 218.14,
"s": 57.333,
"l": 44.118
},
"oklch": {
"l": 0.49711,
"c": 0.14043,
"h": 260.7
},
"luminance": 0.11987
}Semantic roles & 50–950 ramp
primary
#305FB1
secondary
#C5A978
accent
#A947E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82