#306BC7#306BC7

#306BC7 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 53.9% C 0.156 H 259.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#306BC7
RGBrgb(48, 107, 199)
HSLhsl(217, 61%, 48%)
HSVhsv(217, 76%, 78%)
CMYKcmyk(75.9%, 46.2%, 0%, 22%)
CIE-LABlab(46.00, 13.28, -53.43)
CIE-LCHlch(46.00, 55.06, 283.96°)
OKLaboklab(53.86% -0.0294 -0.1533)
OKLCHoklch(53.86% 0.156 259.2)
XYZxyz(16.7817, 15.2654, 56.0838)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306BC7 #C78C30
analogous
#30B6C7 #306BC7 #4030C7
triadic
#306BC7 #C7306B #6BC730
tetradic
#306BC7 #C730B6 #C78C30 #30C740
square
#306BC7 #C730B6 #C78C30 #30C740
split-complementary
#306BC7 #C74030 #B6C730
monochromatic
#183664 #245096 #306BC7 #5C8DD8 #8EAFE4

Accessibility & contrast

On white

5.18
#306BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#306BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306BC7
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306BC7#FFFFFF#000000##FFFFFF
##306BC71.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A74CA
Deuteranopia (green-blind)
#1466C5
Tritanopia (blue-blind)
#00818F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #306bc7;
/* rgb */ color: rgb(48, 107, 199);
/* oklch */ color: oklch(53.9% 0.156 259.2);
Tailwind
colors: {
  custom: {
    50: '#7d94d8',
    500: '#306bc7',
    950: '#000000',
  },
}
SCSS
$custom: #306bc7;
$custom-light: #7d94d8;
$custom-dark: #000000;
JSON
{
  "hex": "#306bc7",
  "rgb": {
    "r": 48,
    "g": 107,
    "b": 199
  },
  "hsl": {
    "h": 216.556,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53855,
    "c": 0.15608,
    "h": 259.2
  },
  "luminance": 0.15267
}

Semantic roles & 50–950 ramp

primary
#306BC7
secondary
#CEB185
accent
#A544E4
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #306BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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