#306DC7#306DC7

#306DC7 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.3% C 0.154 H 258.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#306DC7
RGBrgb(48, 109, 199)
HSLhsl(216, 61%, 48%)
HSVhsv(216, 76%, 78%)
CMYKcmyk(75.9%, 45.2%, 0%, 22%)
CIE-LABlab(46.56, 12.01, -52.52)
CIE-LCHlch(46.56, 53.88, 282.88°)
OKLaboklab(54.29% -0.031 -0.1506)
OKLCHoklch(54.29% 0.154 258.3)
XYZxyz(16.9926, 15.6872, 56.1541)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306DC7 #C78A30
analogous
#30B8C7 #306DC7 #3F30C7
triadic
#306DC7 #C7306D #6DC730
tetradic
#306DC7 #C730B8 #C78A30 #30C73F
square
#306DC7 #C730B8 #C78A30 #30C73F
split-complementary
#306DC7 #C73F30 #B8C730
monochromatic
#183764 #245296 #306DC7 #5C8ED8 #8EB0E4

Accessibility & contrast

On white

5.08
#306DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#306DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306DC7
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306DC7#FFFFFF#000000##FFFFFF
##306DC71.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #306dc7;
/* rgb */ color: rgb(48, 109, 199);
/* oklch */ color: oklch(54.3% 0.154 258.3);
Tailwind
colors: {
  custom: {
    50: '#7d96d8',
    500: '#306dc7',
    950: '#000000',
  },
}
SCSS
$custom: #306dc7;
$custom-light: #7d96d8;
$custom-dark: #000000;
JSON
{
  "hex": "#306dc7",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 199
  },
  "hsl": {
    "h": 215.762,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54291,
    "c": 0.15375,
    "h": 258.3
  },
  "luminance": 0.15689
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #306DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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