#305BCD#305BCD
#305BCD is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.0% C 0.183 H 264.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #305BCD |
|---|---|
| RGB | rgb(48, 91, 205) |
| HSL | hsl(224, 62%, 50%) |
| HSV | hsv(224, 77%, 80%) |
| CMYK | cmyk(76.6%, 55.6%, 0%, 19.6%) |
| CIE-LAB | lab(42.03, 25.83, -63.30) |
| CIE-LCH | lch(42.03, 68.37, 292.19°) |
| OKLab | oklab(50.96% -0.0164 -0.1826) |
| OKLCH | oklch(50.96% 0.183 264.9) |
| XYZ | xyz(15.9756, 12.5165, 59.3197) |
| Luminance | 0.1252 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 3.71
Sapphire
#0F52BA
ΔE00 4.42
Warm Blue
#4B57DB
ΔE00 4.68
Denim
#1560BD
ΔE00 4.72
Royal Blue
#4169E1
ΔE00 5.53
Electric Blue
#0652FF
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305BCD #CDA230
analogous
#30A9CD #305BCD #5430CD
triadic
#305BCD #CD305B #5BCD30
tetradic
#305BCD #CD30A9 #CDA230 #30CD54
square
#305BCD #CD30A9 #CDA230 #30CD54
split-complementary
#305BCD #CD5430 #A9CD30
monochromatic
#192F6A #24459B #305BCD #6082DA #92A9E5
Accessibility & contrast
On white
5.99
#305BCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#305BCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #305BCD
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305BCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305BCD | 1.00 | 5.99 | 3.50 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#005CCB
Tritanopia (blue-blind)
#00778B
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #305bcd; /* rgb */ color: rgb(48, 91, 205); /* oklch */ color: oklch(51.0% 0.183 264.9);
Tailwind
colors: {
custom: {
50: '#7f88dd',
500: '#305bcd',
950: '#000000',
},
}SCSS
$custom: #305bcd; $custom-light: #7f88dd; $custom-dark: #000000;
JSON
{
"hex": "#305bcd",
"rgb": {
"r": 48,
"g": 91,
"b": 205
},
"hsl": {
"h": 223.567,
"s": 62.055,
"l": 49.608
},
"oklch": {
"l": 0.50959,
"c": 0.18335,
"h": 264.9
},
"luminance": 0.12518
}Semantic roles & 50–950 ramp
primary
#305BCD
secondary
#D0BD89
accent
#B943E5
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83