#305BB1#305BB1
#305BB1 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.8% C 0.145 H 262.4°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #305BB1 |
|---|---|
| RGB | rgb(48, 91, 177) |
| HSL | hsl(220, 57%, 44%) |
| HSV | hsv(220, 73%, 69%) |
| CMYK | cmyk(72.9%, 48.6%, 0%, 30.6%) |
| CIE-LAB | lab(40.05, 15.29, -50.19) |
| CIE-LCH | lch(40.05, 52.47, 286.95°) |
| OKLab | oklab(48.84% -0.0192 -0.144) |
| OKLCH | oklch(48.84% 0.145 262.4) |
| XYZ | xyz(12.8930, 11.2835, 43.0849) |
| Luminance | 0.1129 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.20
Sapphire
#0F52BA
ΔE00 3.29
Denim Blue
#3B5B92
ΔE00 3.97
Dusky Blue
#475F94
ΔE00 4.97
Dusk Blue
#26538D
ΔE00 5.34
Light Navy Blue
#2E5A88
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305BB1 #B18630
analogous
#309CB1 #305BB1 #4630B1
triadic
#305BB1 #B1305B #5BB130
tetradic
#305BB1 #B1309C #B18630 #30B146
square
#305BB1 #B1309C #B18630 #30B146
split-complementary
#305BB1 #B14630 #9CB130
monochromatic
#162951 #234281 #305BB1 #4F7ACF #7F9EDC
Accessibility & contrast
On white
6.45
#305BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#305BB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #305BB1
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305BB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305BB1 | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B65B4
Deuteranopia (green-blind)
#0259AF
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #305bb1; /* rgb */ color: rgb(48, 91, 177); /* oklch */ color: oklch(48.8% 0.145 262.4);
Tailwind
colors: {
custom: {
50: '#7988c9',
500: '#305bb1',
950: '#000000',
},
}SCSS
$custom: #305bb1; $custom-light: #7988c9; $custom-dark: #000000;
JSON
{
"hex": "#305bb1",
"rgb": {
"r": 48,
"g": 91,
"b": 177
},
"hsl": {
"h": 220,
"s": 57.333,
"l": 44.118
},
"oklch": {
"l": 0.48836,
"c": 0.14531,
"h": 262.4
},
"luminance": 0.11285
}Semantic roles & 50–950 ramp
primary
#305BB1
secondary
#C5AB78
accent
#AD47E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82