#305BB6#305BB6
#305BB6 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.2% C 0.152 H 263.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #305BB6 |
|---|---|
| RGB | rgb(48, 91, 182) |
| HSL | hsl(221, 58%, 45%) |
| HSV | hsv(221, 74%, 71%) |
| CMYK | cmyk(73.6%, 50%, 0%, 28.6%) |
| CIE-LAB | lab(40.39, 17.18, -52.59) |
| CIE-LCH | lch(40.39, 55.32, 288.09°) |
| OKLab | oklab(49.2% -0.0186 -0.1511) |
| OKLCH | oklch(49.2% 0.152 263) |
| XYZ | xyz(13.4005, 11.4865, 45.7578) |
| Luminance | 0.1149 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.19
Denim
#1560BD
ΔE00 3.24
Denim Blue
#3B5B92
ΔE00 4.55
Dusky Blue
#475F94
ΔE00 5.39
French Blue
#436BAD
ΔE00 5.55
Denim (survey)
#3B638C
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305BB6 #B68B30
analogous
#309EB6 #305BB6 #4830B6
triadic
#305BB6 #B6305B #5BB630
tetradic
#305BB6 #B6309E #B68B30 #30B648
square
#305BB6 #B6309E #B68B30 #30B648
split-complementary
#305BB6 #B64830 #9EB630
monochromatic
#162B55 #234386 #305BB6 #527BD1 #82A0DE
Accessibility & contrast
On white
6.37
#305BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#305BB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #305BB6
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305BB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305BB6 | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2566B9
Deuteranopia (green-blind)
#0059B4
Tritanopia (blue-blind)
#007180
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #305bb6; /* rgb */ color: rgb(48, 91, 182); /* oklch */ color: oklch(49.2% 0.152 263.0);
Tailwind
colors: {
custom: {
50: '#7a88cc',
500: '#305bb6',
950: '#000000',
},
}SCSS
$custom: #305bb6; $custom-light: #7a88cc; $custom-dark: #000000;
JSON
{
"hex": "#305bb6",
"rgb": {
"r": 48,
"g": 91,
"b": 182
},
"hsl": {
"h": 220.746,
"s": 58.261,
"l": 45.098
},
"oklch": {
"l": 0.49199,
"c": 0.15224,
"h": 263
},
"luminance": 0.11488
}Semantic roles & 50–950 ramp
primary
#305BB6
secondary
#C7AF7B
accent
#B046E1
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82