#305AC9#305AC9
#305AC9 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.4% C 0.179 H 264.9°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #305AC9 |
|---|---|
| RGB | rgb(48, 90, 201) |
| HSL | hsl(224, 61%, 49%) |
| HSV | hsv(224, 76%, 79%) |
| CMYK | cmyk(76.1%, 55.2%, 0%, 21.2%) |
| CIE-LAB | lab(41.46, 24.98, -61.91) |
| CIE-LCH | lch(41.46, 66.76, 291.97°) |
| OKLab | oklab(50.44% -0.0159 -0.1785) |
| OKLCH | oklch(50.44% 0.179 264.9) |
| XYZ | xyz(15.4140, 12.1560, 56.7810) |
| Luminance | 0.1216 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.91
Azul
#1D5DEC
ΔE00 4.27
Denim
#1560BD
ΔE00 4.61
Warm Blue
#4B57DB
ΔE00 4.94
Royal Blue
#4169E1
ΔE00 6.07
French Blue
#436BAD
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305AC9 #C99F30
analogous
#30A7C9 #305AC9 #5230C9
triadic
#305AC9 #C9305A #5AC930
tetradic
#305AC9 #C930A7 #C99F30 #30C952
square
#305AC9 #C930A7 #C99F30 #30C952
split-complementary
#305AC9 #C95230 #A7C930
monochromatic
#182E66 #244498 #305AC9 #5E7FD8 #8FA6E4
Accessibility & contrast
On white
6.12
#305AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#305AC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #305AC9
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305AC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305AC9 | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CD
Deuteranopia (green-blind)
#005BC7
Tritanopia (blue-blind)
#007589
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #305ac9; /* rgb */ color: rgb(48, 90, 201); /* oklch */ color: oklch(50.4% 0.179 264.9);
Tailwind
colors: {
custom: {
50: '#7f88da',
500: '#305ac9',
950: '#000000',
},
}SCSS
$custom: #305ac9; $custom-light: #7f88da; $custom-dark: #000000;
JSON
{
"hex": "#305ac9",
"rgb": {
"r": 48,
"g": 90,
"b": 201
},
"hsl": {
"h": 223.529,
"s": 61.446,
"l": 48.824
},
"oklch": {
"l": 0.50442,
"c": 0.17925,
"h": 264.9
},
"luminance": 0.12158
}Semantic roles & 50–950 ramp
primary
#305AC9
secondary
#CFBB86
accent
#B843E5
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83