#306CCD#306CCD

#306CCD is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.5% C 0.163 H 259.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#306CCD
RGBrgb(48, 108, 205)
HSLhsl(217, 62%, 50%)
HSVhsv(217, 77%, 80%)
CMYKcmyk(76.6%, 47.3%, 0%, 19.6%)
CIE-LABlab(46.66, 14.90, -55.81)
CIE-LCHlch(46.66, 57.77, 284.95°)
OKLaboklab(54.49% -0.0292 -0.1603)
OKLCHoklch(54.49% 0.163 259.7)
XYZxyz(17.5969, 15.7593, 59.8602)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306CCD #CD9130
analogous
#30BBCD #306CCD #4330CD
triadic
#306CCD #CD306C #6CCD30
tetradic
#306CCD #CD30BB #CD9130 #30CD43
square
#306CCD #CD30BB #CD9130 #30CD43
split-complementary
#306CCD #CD4330 #BBCD30
monochromatic
#19386A #24529B #306CCD #608FDA #92B2E5

Accessibility & contrast

On white

5.06
#306CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#306CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306CCD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306CCD#FFFFFF#000000##FFFFFF
##306CCD1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3676D1
Deuteranopia (green-blind)
#0268CB
Tritanopia (blue-blind)
#008392
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #306ccd;
/* rgb */ color: rgb(48, 108, 205);
/* oklch */ color: oklch(54.5% 0.163 259.7);
Tailwind
colors: {
  custom: {
    50: '#7f95dd',
    500: '#306ccd',
    950: '#000000',
  },
}
SCSS
$custom: #306ccd;
$custom-light: #7f95dd;
$custom-dark: #000000;
JSON
{
  "hex": "#306ccd",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 205
  },
  "hsl": {
    "h": 217.07,
    "s": 62.055,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54486,
    "c": 0.16292,
    "h": 259.7
  },
  "luminance": 0.15761
}

Semantic roles & 50–950 ramp

primary
#306CCD
secondary
#D0B589
accent
#A743E5
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #306CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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