#305CC0#305CC0

#305CC0 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.2% C 0.165 H 263.7°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#305CC0
RGBrgb(48, 92, 192)
HSLhsl(222, 60%, 47%)
HSVhsv(222, 75%, 75%)
CMYKcmyk(75%, 52.1%, 0%, 24.7%)
CIE-LABlab(41.35, 20.30, -56.87)
CIE-LCHlch(41.35, 60.38, 289.65°)
OKLaboklab(50.15% -0.0182 -0.1637)
OKLCHoklch(50.15% 0.165 263.7)
XYZxyz(14.5571, 12.0868, 51.4247)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305CC0 #C09430
analogous
#30A4C0 #305CC0 #4C30C0
triadic
#305CC0 #C0305C #5CC030
tetradic
#305CC0 #C030A4 #C09430 #30C04C
square
#305CC0 #C030A4 #C09430 #30C04C
split-complementary
#305CC0 #C04C30 #A4C030
monochromatic
#182D5E #24458F #305CC0 #587ED5 #89A4E1

Accessibility & contrast

On white

6.14
#305CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#305CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305CC0
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305CC0#FFFFFF#000000##FFFFFF
##305CC01.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1868C4
Deuteranopia (green-blind)
#005BBE
Tritanopia (blue-blind)
#007485
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #305cc0;
/* rgb */ color: rgb(48, 92, 192);
/* oklch */ color: oklch(50.2% 0.165 263.7);
Tailwind
colors: {
  custom: {
    50: '#7c89d4',
    500: '#305cc0',
    950: '#000000',
  },
}
SCSS
$custom: #305cc0;
$custom-light: #7c89d4;
$custom-dark: #000000;
JSON
{
  "hex": "#305cc0",
  "rgb": {
    "r": 48,
    "g": 92,
    "b": 192
  },
  "hsl": {
    "h": 221.667,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50154,
    "c": 0.16468,
    "h": 263.7
  },
  "luminance": 0.12088
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #305CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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