#305BBB#305BBB
#305BBB is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.6% C 0.159 H 263.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #305BBB |
|---|---|
| RGB | rgb(48, 91, 187) |
| HSL | hsl(221, 59%, 46%) |
| HSV | hsv(221, 74%, 73%) |
| CMYK | cmyk(74.3%, 51.3%, 0%, 26.7%) |
| CIE-LAB | lab(40.73, 19.07, -54.96) |
| CIE-LCH | lch(40.73, 58.17, 289.13°) |
| OKLab | oklab(49.57% -0.0179 -0.1581) |
| OKLCH | oklch(49.57% 0.159 263.5) |
| XYZ | xyz(13.9265, 11.6969, 48.5278) |
| Luminance | 0.1170 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.23
Denim
#1560BD
ΔE00 3.41
Denim Blue
#3B5B92
ΔE00 5.16
French Blue
#436BAD
ΔE00 5.68
Dusky Blue
#475F94
ΔE00 5.84
Azul
#1D5DEC
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305BBB #BB9030
analogous
#30A0BB #305BBB #4A30BB
triadic
#305BBB #BB305B #5BBB30
tetradic
#305BBB #BB30A0 #BB9030 #30BB4A
square
#305BBB #BB30A0 #BB9030 #30BB4A
split-complementary
#305BBB #BB4A30 #A0BB30
monochromatic
#172C5A #23438A #305BBB #557CD3 #86A1E0
Accessibility & contrast
On white
6.29
#305BBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#305BBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #305BBB
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305BBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305BBB | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E67BE
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #305bbb; /* rgb */ color: rgb(48, 91, 187); /* oklch */ color: oklch(49.6% 0.159 263.5);
Tailwind
colors: {
custom: {
50: '#7b88d0',
500: '#305bbb',
950: '#000000',
},
}SCSS
$custom: #305bbb; $custom-light: #7b88d0; $custom-dark: #000000;
JSON
{
"hex": "#305bbb",
"rgb": {
"r": 48,
"g": 91,
"b": 187
},
"hsl": {
"h": 221.439,
"s": 59.149,
"l": 46.078
},
"oklch": {
"l": 0.49569,
"c": 0.1591,
"h": 263.5
},
"luminance": 0.11698
}Semantic roles & 50–950 ramp
primary
#305BBB
secondary
#C9B27D
accent
#B245E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82