#306DCD#306DCD

#306DCD is a mid, vivid blue. Relative luminance 0.160; OKLCH L 54.7% C 0.162 H 259.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#306DCD
RGBrgb(48, 109, 205)
HSLhsl(217, 62%, 50%)
HSVhsv(217, 77%, 80%)
CMYKcmyk(76.6%, 46.8%, 0%, 19.6%)
CIE-LABlab(46.94, 14.26, -55.36)
CIE-LCHlch(46.94, 57.17, 284.45°)
OKLaboklab(54.7% -0.03 -0.1589)
OKLCHoklch(54.7% 0.162 259.3)
XYZxyz(17.7030, 15.9714, 59.8955)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306DCD #CD9030
analogous
#30BBCD #306DCD #4230CD
triadic
#306DCD #CD306D #6DCD30
tetradic
#306DCD #CD30BB #CD9030 #30CD42
square
#306DCD #CD30BB #CD9030 #30CD42
split-complementary
#306DCD #CD4230 #BBCD30
monochromatic
#19386A #24539B #306DCD #6090DA #92B2E5

Accessibility & contrast

On white

5.01
#306DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#306DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306DCD
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306DCD#FFFFFF#000000##FFFFFF
##306DCD1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3977D1
Deuteranopia (green-blind)
#0B69CB
Tritanopia (blue-blind)
#008493
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #306dcd;
/* rgb */ color: rgb(48, 109, 205);
/* oklch */ color: oklch(54.7% 0.162 259.3);
Tailwind
colors: {
  custom: {
    50: '#7f96dd',
    500: '#306dcd',
    950: '#000000',
  },
}
SCSS
$custom: #306dcd;
$custom-light: #7f96dd;
$custom-dark: #000000;
JSON
{
  "hex": "#306dcd",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 205
  },
  "hsl": {
    "h": 216.688,
    "s": 62.055,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54701,
    "c": 0.16174,
    "h": 259.3
  },
  "luminance": 0.15973
}

Semantic roles & 50–950 ramp

primary
#306DCD
secondary
#D0B489
accent
#A643E5
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #306DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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