#306CC7#306CC7

#306CC7 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.1% C 0.155 H 258.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#306CC7
RGBrgb(48, 108, 199)
HSLhsl(216, 61%, 48%)
HSVhsv(216, 76%, 78%)
CMYKcmyk(75.9%, 45.7%, 0%, 22%)
CIE-LABlab(46.28, 12.64, -52.98)
CIE-LCHlch(46.28, 54.47, 283.42°)
OKLaboklab(54.07% -0.0302 -0.1519)
OKLCHoklch(54.07% 0.155 258.8)
XYZxyz(16.8865, 15.4751, 56.1188)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306CC7 #C78B30
analogous
#30B7C7 #306CC7 #3F30C7
triadic
#306CC7 #C7306C #6CC730
tetradic
#306CC7 #C730B7 #C78B30 #30C73F
square
#306CC7 #C730B7 #C78B30 #30C73F
split-complementary
#306CC7 #C73F30 #B7C730
monochromatic
#183664 #245196 #306CC7 #5C8DD8 #8EB0E4

Accessibility & contrast

On white

5.13
#306CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#306CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306CC7
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306CC7#FFFFFF#000000##FFFFFF
##306CC71.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C75CA
Deuteranopia (green-blind)
#1967C5
Tritanopia (blue-blind)
#008290
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #306cc7;
/* rgb */ color: rgb(48, 108, 199);
/* oklch */ color: oklch(54.1% 0.155 258.8);
Tailwind
colors: {
  custom: {
    50: '#7d95d8',
    500: '#306cc7',
    950: '#000000',
  },
}
SCSS
$custom: #306cc7;
$custom-light: #7d95d8;
$custom-dark: #000000;
JSON
{
  "hex": "#306cc7",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 199
  },
  "hsl": {
    "h": 216.159,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54072,
    "c": 0.15492,
    "h": 258.8
  },
  "luminance": 0.15477
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #306CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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