#305BB0#305BB0
#305BB0 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.8% C 0.144 H 262.3°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #305BB0 |
|---|---|
| RGB | rgb(48, 91, 176) |
| HSL | hsl(220, 57%, 44%) |
| HSV | hsv(220, 73%, 69%) |
| CMYK | cmyk(72.7%, 48.3%, 0%, 31%) |
| CIE-LAB | lab(39.99, 14.92, -49.70) |
| CIE-LCH | lch(39.99, 51.89, 286.71°) |
| OKLab | oklab(48.77% -0.0194 -0.1426) |
| OKLCH | oklch(48.77% 0.144 262.3) |
| XYZ | xyz(12.7937, 11.2438, 42.5619) |
| Luminance | 0.1124 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.21
Sapphire
#0F52BA
ΔE00 3.32
Denim Blue
#3B5B92
ΔE00 3.85
Dusky Blue
#475F94
ΔE00 4.89
Dusk Blue
#26538D
ΔE00 5.22
Light Navy Blue
#2E5A88
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305BB0 #B08530
analogous
#309BB0 #305BB0 #4530B0
triadic
#305BB0 #B0305B #5BB030
tetradic
#305BB0 #B0309B #B08530 #30B045
square
#305BB0 #B0309B #B08530 #30B045
split-complementary
#305BB0 #B04530 #9BB030
monochromatic
#162950 #234280 #305BB0 #4E7ACF #7E9EDC
Accessibility & contrast
On white
6.46
#305BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#305BB0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #305BB0
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305BB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305BB0 | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C64B3
Deuteranopia (green-blind)
#0659AE
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #305bb0; /* rgb */ color: rgb(48, 91, 176); /* oklch */ color: oklch(48.8% 0.144 262.3);
Tailwind
colors: {
custom: {
50: '#7988c8',
500: '#305bb0',
950: '#000000',
},
}SCSS
$custom: #305bb0; $custom-light: #7988c8; $custom-dark: #000000;
JSON
{
"hex": "#305bb0",
"rgb": {
"r": 48,
"g": 91,
"b": 176
},
"hsl": {
"h": 219.844,
"s": 57.143,
"l": 43.922
},
"oklch": {
"l": 0.48765,
"c": 0.14392,
"h": 262.3
},
"luminance": 0.11245
}Semantic roles & 50–950 ramp
primary
#305BB0
secondary
#C5AB77
accent
#AD47E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82