#306BC6#306BC6

#306BC6 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 53.8% C 0.155 H 259.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#306BC6
RGBrgb(48, 107, 198)
HSLhsl(216, 61%, 48%)
HSVhsv(216, 76%, 78%)
CMYKcmyk(75.8%, 46%, 0%, 22.4%)
CIE-LABlab(45.93, 12.90, -52.96)
CIE-LCHlch(45.93, 54.51, 283.69°)
OKLaboklab(53.79% -0.0296 -0.1519)
OKLCHoklch(53.79% 0.155 259)
XYZxyz(16.6659, 15.2191, 55.4744)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306BC6 #C68B30
analogous
#30B6C6 #306BC6 #4030C6
triadic
#306BC6 #C6306B #6BC630
tetradic
#306BC6 #C630B6 #C68B30 #30C640
square
#306BC6 #C630B6 #C68B30 #30C640
split-complementary
#306BC6 #C64030 #B6C630
monochromatic
#183663 #245095 #306BC6 #5C8CD7 #8DAFE3

Accessibility & contrast

On white

5.19
#306BC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#306BC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306BC6
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306BC6#FFFFFF#000000##FFFFFF
##306BC61.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B74C9
Deuteranopia (green-blind)
#1766C4
Tritanopia (blue-blind)
#00818F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #306bc6;
/* rgb */ color: rgb(48, 107, 198);
/* oklch */ color: oklch(53.8% 0.155 259.0);
Tailwind
colors: {
  custom: {
    50: '#7d94d8',
    500: '#306bc6',
    950: '#000000',
  },
}
SCSS
$custom: #306bc6;
$custom-light: #7d94d8;
$custom-dark: #000000;
JSON
{
  "hex": "#306bc6",
  "rgb": {
    "r": 48,
    "g": 107,
    "b": 198
  },
  "hsl": {
    "h": 216.4,
    "s": 60.976,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53786,
    "c": 0.15474,
    "h": 259
  },
  "luminance": 0.15221
}

Semantic roles & 50–950 ramp

primary
#306BC6
secondary
#CEB184
accent
#A544E4
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #306BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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