#306CC5#306CC5

#306CC5 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 53.9% C 0.152 H 258.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#306CC5
RGBrgb(48, 108, 197)
HSLhsl(216, 61%, 48%)
HSVhsv(216, 76%, 77%)
CMYKcmyk(75.6%, 45.2%, 0%, 22.7%)
CIE-LABlab(46.15, 11.89, -52.03)
CIE-LCHlch(46.15, 53.37, 282.88°)
OKLaboklab(53.94% -0.0306 -0.1491)
OKLCHoklch(53.94% 0.152 258.4)
XYZxyz(16.6558, 15.3828, 54.9039)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306CC5 #C58930
analogous
#30B6C5 #306CC5 #3F30C5
triadic
#306CC5 #C5306C #6CC530
tetradic
#306CC5 #C530B6 #C58930 #30C53F
square
#306CC5 #C530B6 #C58930 #30C53F
split-complementary
#306CC5 #C53F30 #B6C530
monochromatic
#183663 #245194 #306CC5 #5B8DD7 #8CAFE3

Accessibility & contrast

On white

5.15
#306CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#306CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306CC5
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306CC5#FFFFFF#000000##FFFFFF
##306CC51.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E75C8
Deuteranopia (green-blind)
#1E67C3
Tritanopia (blue-blind)
#00818F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #306cc5;
/* rgb */ color: rgb(48, 108, 197);
/* oklch */ color: oklch(53.9% 0.152 258.4);
Tailwind
colors: {
  custom: {
    50: '#7d95d7',
    500: '#306cc5',
    950: '#000000',
  },
}
SCSS
$custom: #306cc5;
$custom-light: #7d95d7;
$custom-dark: #000000;
JSON
{
  "hex": "#306cc5",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 197
  },
  "hsl": {
    "h": 215.839,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53937,
    "c": 0.15224,
    "h": 258.4
  },
  "luminance": 0.15385
}

Semantic roles & 50–950 ramp

primary
#306CC5
secondary
#CDB084
accent
#A344E4
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #306CC5

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

Preview Lab → · Contrast checker → · Palette generator →

#306CC5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva