#305CC5#305CC5
#305CC5 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.5% C 0.171 H 264.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #305CC5 |
|---|---|
| RGB | rgb(48, 92, 197) |
| HSL | hsl(222, 61%, 48%) |
| HSV | hsv(222, 76%, 77%) |
| CMYK | cmyk(75.6%, 53.3%, 0%, 22.7%) |
| CIE-LAB | lab(41.71, 22.18, -59.20) |
| CIE-LCH | lch(41.71, 63.21, 290.54°) |
| OKLab | oklab(50.54% -0.0177 -0.1705) |
| OKLCH | oklch(50.54% 0.171 264.1) |
| XYZ | xyz(15.1205, 12.3122, 54.3921) |
| Luminance | 0.1231 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.77
Sapphire
#0F52BA
ΔE00 3.93
Azul
#1D5DEC
ΔE00 4.68
Warm Blue
#4B57DB
ΔE00 5.73
French Blue
#436BAD
ΔE00 5.81
Royal Blue
#4169E1
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305CC5 #C59930
analogous
#30A6C5 #305CC5 #4F30C5
triadic
#305CC5 #C5305C #5CC530
tetradic
#305CC5 #C530A6 #C59930 #30C54F
square
#305CC5 #C530A6 #C59930 #30C54F
split-complementary
#305CC5 #C54F30 #A6C530
monochromatic
#182E63 #244594 #305CC5 #5B80D7 #8CA6E3
Accessibility & contrast
On white
6.06
#305CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#305CC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #305CC5
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305CC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305CC5 | 1.00 | 6.06 | 3.46 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#096AC9
Deuteranopia (green-blind)
#005CC3
Tritanopia (blue-blind)
#007687
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #305cc5; /* rgb */ color: rgb(48, 92, 197); /* oklch */ color: oklch(50.5% 0.171 264.1);
Tailwind
colors: {
custom: {
50: '#7e89d7',
500: '#305cc5',
950: '#000000',
},
}SCSS
$custom: #305cc5; $custom-light: #7e89d7; $custom-dark: #000000;
JSON
{
"hex": "#305cc5",
"rgb": {
"r": 48,
"g": 92,
"b": 197
},
"hsl": {
"h": 222.282,
"s": 60.816,
"l": 48.039
},
"oklch": {
"l": 0.50535,
"c": 0.17145,
"h": 264.1
},
"luminance": 0.12314
}Semantic roles & 50–950 ramp
primary
#305CC5
secondary
#CDB784
accent
#B544E4
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83