#305CBB#305CBB
#305CBB is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.8% C 0.158 H 263.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #305CBB |
|---|---|
| RGB | rgb(48, 92, 187) |
| HSL | hsl(221, 59%, 46%) |
| HSV | hsv(221, 74%, 73%) |
| CMYK | cmyk(74.3%, 50.8%, 0%, 26.7%) |
| CIE-LAB | lab(41.01, 18.42, -54.51) |
| CIE-LCH | lch(41.01, 57.54, 288.67°) |
| OKLab | oklab(49.78% -0.0188 -0.1567) |
| OKLCH | oklch(49.78% 0.158 263.2) |
| XYZ | xyz(14.0125, 11.8690, 48.5565) |
| Luminance | 0.1187 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.12
Sapphire
#0F52BA
ΔE00 3.49
Denim Blue
#3B5B92
ΔE00 5.13
French Blue
#436BAD
ΔE00 5.36
Dusky Blue
#475F94
ΔE00 5.79
Azul
#1D5DEC
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305CBB #BB8F30
analogous
#30A1BB #305CBB #4930BB
triadic
#305CBB #BB305C #5CBB30
tetradic
#305CBB #BB30A1 #BB8F30 #30BB49
square
#305CBB #BB30A1 #BB8F30 #30BB49
split-complementary
#305CBB #BB4930 #A1BB30
monochromatic
#172C5A #23448A #305CBB #557DD3 #86A2E0
Accessibility & contrast
On white
6.22
#305CBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#305CBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #305CBB
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305CBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305CBB | 1.00 | 6.22 | 3.37 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2167BE
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #305cbb; /* rgb */ color: rgb(48, 92, 187); /* oklch */ color: oklch(49.8% 0.158 263.2);
Tailwind
colors: {
custom: {
50: '#7b89d0',
500: '#305cbb',
950: '#000000',
},
}SCSS
$custom: #305cbb; $custom-light: #7b89d0; $custom-dark: #000000;
JSON
{
"hex": "#305cbb",
"rgb": {
"r": 48,
"g": 92,
"b": 187
},
"hsl": {
"h": 221.007,
"s": 59.149,
"l": 46.078
},
"oklch": {
"l": 0.49779,
"c": 0.15787,
"h": 263.2
},
"luminance": 0.11871
}Semantic roles & 50–950 ramp
primary
#305CBB
secondary
#C9B17D
accent
#B145E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82