#305BB2#305BB2
#305BB2 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.9% C 0.147 H 262.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #305BB2 |
|---|---|
| RGB | rgb(48, 91, 178) |
| HSL | hsl(220, 58%, 44%) |
| HSV | hsv(220, 73%, 70%) |
| CMYK | cmyk(73%, 48.9%, 0%, 30.2%) |
| CIE-LAB | lab(40.12, 15.67, -50.67) |
| CIE-LCH | lch(40.12, 53.04, 287.19°) |
| OKLab | oklab(48.91% -0.0191 -0.1454) |
| OKLCH | oklch(48.91% 0.147 262.5) |
| XYZ | xyz(12.9930, 11.3235, 43.6117) |
| Luminance | 0.1133 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.20
Sapphire
#0F52BA
ΔE00 3.26
Denim Blue
#3B5B92
ΔE00 4.08
Dusky Blue
#475F94
ΔE00 5.05
Denim (survey)
#3B638C
ΔE00 5.44
Dusk Blue
#26538D
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305BB2 #B28730
analogous
#309CB2 #305BB2 #4630B2
triadic
#305BB2 #B2305B #5BB230
tetradic
#305BB2 #B2309C #B28730 #30B246
square
#305BB2 #B2309C #B28730 #30B246
split-complementary
#305BB2 #B24630 #9CB230
monochromatic
#162A52 #234282 #305BB2 #507AD0 #809EDD
Accessibility & contrast
On white
6.43
#305BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#305BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #305BB2
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305BB2 | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A65B5
Deuteranopia (green-blind)
#0059B0
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #305bb2; /* rgb */ color: rgb(48, 91, 178); /* oklch */ color: oklch(48.9% 0.147 262.5);
Tailwind
colors: {
custom: {
50: '#7988ca',
500: '#305bb2',
950: '#000000',
},
}SCSS
$custom: #305bb2; $custom-light: #7988ca; $custom-dark: #000000;
JSON
{
"hex": "#305bb2",
"rgb": {
"r": 48,
"g": 91,
"b": 178
},
"hsl": {
"h": 220.154,
"s": 57.522,
"l": 44.314
},
"oklch": {
"l": 0.48908,
"c": 0.1467,
"h": 262.5
},
"luminance": 0.11325
}Semantic roles & 50–950 ramp
primary
#305BB2
secondary
#C6AC78
accent
#AE47E1
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82