#305DC0#305DC0

#305DC0 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.4% C 0.163 H 263.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#305DC0
RGBrgb(48, 93, 192)
HSLhsl(221, 60%, 47%)
HSVhsv(221, 75%, 75%)
CMYKcmyk(75%, 51.6%, 0%, 24.7%)
CIE-LABlab(41.63, 19.65, -56.42)
CIE-LCHlch(41.63, 59.75, 289.20°)
OKLaboklab(50.36% -0.019 -0.1623)
OKLCHoklch(50.36% 0.163 263.3)
XYZxyz(14.6443, 12.2612, 51.4538)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305DC0 #C09330
analogous
#30A5C0 #305DC0 #4B30C0
triadic
#305DC0 #C0305D #5DC030
tetradic
#305DC0 #C030A5 #C09330 #30C04B
square
#305DC0 #C030A5 #C09330 #30C04B
split-complementary
#305DC0 #C04B30 #A5C030
monochromatic
#182E5E #24458F #305DC0 #587FD5 #89A5E1

Accessibility & contrast

On white

6.08
#305DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#305DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305DC0
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305DC0#FFFFFF#000000##FFFFFF
##305DC01.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C69C4
Deuteranopia (green-blind)
#005CBE
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #305dc0;
/* rgb */ color: rgb(48, 93, 192);
/* oklch */ color: oklch(50.4% 0.163 263.3);
Tailwind
colors: {
  custom: {
    50: '#7c8ad4',
    500: '#305dc0',
    950: '#000000',
  },
}
SCSS
$custom: #305dc0;
$custom-light: #7c8ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#305dc0",
  "rgb": {
    "r": 48,
    "g": 93,
    "b": 192
  },
  "hsl": {
    "h": 221.25,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50362,
    "c": 0.16346,
    "h": 263.3
  },
  "luminance": 0.12263
}

Semantic roles & 50–950 ramp

primary
#305DC0
secondary
#CBB480
accent
#B245E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #305DC0

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#305DC0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva