#306DC6#306DC6

#306DC6 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.2% C 0.152 H 258.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#306DC6
RGBrgb(48, 109, 198)
HSLhsl(216, 61%, 48%)
HSVhsv(216, 76%, 78%)
CMYKcmyk(75.8%, 44.9%, 0%, 22.4%)
CIE-LABlab(46.50, 11.64, -52.05)
CIE-LCHlch(46.50, 53.33, 282.60°)
OKLaboklab(54.22% -0.0312 -0.1492)
OKLCHoklch(54.22% 0.152 258.2)
XYZxyz(16.8769, 15.6409, 55.5447)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306DC6 #C68930
analogous
#30B8C6 #306DC6 #3E30C6
triadic
#306DC6 #C6306D #6DC630
tetradic
#306DC6 #C630B8 #C68930 #30C63E
square
#306DC6 #C630B8 #C68930 #30C63E
split-complementary
#306DC6 #C63E30 #B8C630
monochromatic
#183763 #245295 #306DC6 #5C8ED7 #8DB0E3

Accessibility & contrast

On white

5.09
#306DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#306DC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306DC6
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306DC6#FFFFFF#000000##FFFFFF
##306DC61.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F76C9
Deuteranopia (green-blind)
#1F68C4
Tritanopia (blue-blind)
#008290
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #306dc6;
/* rgb */ color: rgb(48, 109, 198);
/* oklch */ color: oklch(54.2% 0.152 258.2);
Tailwind
colors: {
  custom: {
    50: '#7d96d8',
    500: '#306dc6',
    950: '#000000',
  },
}
SCSS
$custom: #306dc6;
$custom-light: #7d96d8;
$custom-dark: #000000;
JSON
{
  "hex": "#306dc6",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 198
  },
  "hsl": {
    "h": 215.6,
    "s": 60.976,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54224,
    "c": 0.15241,
    "h": 258.2
  },
  "luminance": 0.15643
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #306DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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