#305CBF#305CBF
#305CBF is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.1% C 0.163 H 263.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #305CBF |
|---|---|
| RGB | rgb(48, 92, 191) |
| HSL | hsl(222, 60%, 47%) |
| HSV | hsv(222, 75%, 75%) |
| CMYK | cmyk(74.9%, 51.8%, 0%, 25.1%) |
| CIE-LAB | lab(41.28, 19.92, -56.40) |
| CIE-LCH | lch(41.28, 59.81, 289.46°) |
| OKLab | oklab(50.08% -0.0183 -0.1623) |
| OKLCH | oklch(50.08% 0.163 263.6) |
| XYZ | xyz(14.4467, 12.0427, 50.8432) |
| Luminance | 0.1204 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.34
Sapphire
#0F52BA
ΔE00 3.61
Azul
#1D5DEC
ΔE00 5.45
French Blue
#436BAD
ΔE00 5.52
Denim Blue
#3B5B92
ΔE00 5.61
Dusky Blue
#475F94
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305CBF #BF9330
analogous
#30A4BF #305CBF #4B30BF
triadic
#305CBF #BF305C #5CBF30
tetradic
#305CBF #BF30A4 #BF9330 #30BF4B
square
#305CBF #BF30A4 #BF9330 #30BF4B
split-complementary
#305CBF #BF4B30 #A4BF30
monochromatic
#172D5D #24448E #305CBF #577ED5 #88A4E1
Accessibility & contrast
On white
6.16
#305CBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#305CBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #305CBF
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305CBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305CBF | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A68C3
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#007484
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #305cbf; /* rgb */ color: rgb(48, 92, 191); /* oklch */ color: oklch(50.1% 0.163 263.6);
Tailwind
colors: {
custom: {
50: '#7c89d3',
500: '#305cbf',
950: '#000000',
},
}SCSS
$custom: #305cbf; $custom-light: #7c89d3; $custom-dark: #000000;
JSON
{
"hex": "#305cbf",
"rgb": {
"r": 48,
"g": 92,
"b": 191
},
"hsl": {
"h": 221.538,
"s": 59.833,
"l": 46.863
},
"oklch": {
"l": 0.50078,
"c": 0.16332,
"h": 263.6
},
"luminance": 0.12044
}Semantic roles & 50–950 ramp
primary
#305CBF
secondary
#CBB480
accent
#B245E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83