#306CC6#306CC6

#306CC6 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.0% C 0.154 H 258.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#306CC6
RGBrgb(48, 108, 198)
HSLhsl(216, 61%, 48%)
HSVhsv(216, 76%, 78%)
CMYKcmyk(75.8%, 45.5%, 0%, 22.4%)
CIE-LABlab(46.22, 12.27, -52.50)
CIE-LCHlch(46.22, 53.92, 283.15°)
OKLaboklab(54% -0.0304 -0.1505)
OKLCHoklch(54% 0.154 258.6)
XYZxyz(16.7708, 15.4288, 55.5093)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306CC6 #C68A30
analogous
#30B7C6 #306CC6 #3F30C6
triadic
#306CC6 #C6306C #6CC630
tetradic
#306CC6 #C630B7 #C68A30 #30C63F
square
#306CC6 #C630B7 #C68A30 #30C63F
split-complementary
#306CC6 #C63F30 #B7C630
monochromatic
#183663 #245195 #306CC6 #5C8DD7 #8DB0E3

Accessibility & contrast

On white

5.14
#306CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#306CC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306CC6
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306CC6#FFFFFF#000000##FFFFFF
##306CC61.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #306cc6;
/* rgb */ color: rgb(48, 108, 198);
/* oklch */ color: oklch(54.0% 0.154 258.6);
Tailwind
colors: {
  custom: {
    50: '#7d95d8',
    500: '#306cc6',
    950: '#000000',
  },
}
SCSS
$custom: #306cc6;
$custom-light: #7d95d8;
$custom-dark: #000000;
JSON
{
  "hex": "#306cc6",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 198
  },
  "hsl": {
    "h": 216,
    "s": 60.976,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54004,
    "c": 0.15358,
    "h": 258.6
  },
  "luminance": 0.15431
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #306CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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