#305BB7#305BB7
#305BB7 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.3% C 0.154 H 263.1°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #305BB7 |
|---|---|
| RGB | rgb(48, 91, 183) |
| HSL | hsl(221, 58%, 45%) |
| HSV | hsv(221, 74%, 72%) |
| CMYK | cmyk(73.8%, 50.3%, 0%, 28.2%) |
| CIE-LAB | lab(40.46, 17.56, -53.06) |
| CIE-LCH | lch(40.46, 55.89, 288.31°) |
| OKLab | oklab(49.27% -0.0184 -0.1525) |
| OKLCH | oklch(49.27% 0.154 263.1) |
| XYZ | xyz(13.5042, 11.5280, 46.3040) |
| Luminance | 0.1153 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.18
Denim
#1560BD
ΔE00 3.27
Denim Blue
#3B5B92
ΔE00 4.67
Dusky Blue
#475F94
ΔE00 5.48
French Blue
#436BAD
ΔE00 5.57
Denim (survey)
#3B638C
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305BB7 #B78C30
analogous
#309EB7 #305BB7 #4830B7
triadic
#305BB7 #B7305B #5BB730
tetradic
#305BB7 #B7309E #B78C30 #30B748
square
#305BB7 #B7309E #B78C30 #30B748
split-complementary
#305BB7 #B74830 #9EB730
monochromatic
#172B56 #234387 #305BB7 #527BD2 #83A0DE
Accessibility & contrast
On white
6.35
#305BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#305BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #305BB7
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305BB7 | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2466BA
Deuteranopia (green-blind)
#005AB5
Tritanopia (blue-blind)
#007180
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #305bb7; /* rgb */ color: rgb(48, 91, 183); /* oklch */ color: oklch(49.3% 0.154 263.1);
Tailwind
colors: {
custom: {
50: '#7a88cd',
500: '#305bb7',
950: '#000000',
},
}SCSS
$custom: #305bb7; $custom-light: #7a88cd; $custom-dark: #000000;
JSON
{
"hex": "#305bb7",
"rgb": {
"r": 48,
"g": 91,
"b": 183
},
"hsl": {
"h": 220.889,
"s": 58.442,
"l": 45.294
},
"oklch": {
"l": 0.49272,
"c": 0.15361,
"h": 263.1
},
"luminance": 0.11529
}Semantic roles & 50–950 ramp
primary
#305BB7
secondary
#C8AF7B
accent
#B046E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82