#306BCD#306BCD

#306BCD is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.3% C 0.164 H 260.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#306BCD
RGBrgb(48, 107, 205)
HSLhsl(217, 62%, 50%)
HSVhsv(217, 77%, 80%)
CMYKcmyk(76.6%, 47.8%, 0%, 19.6%)
CIE-LABlab(46.38, 15.54, -56.26)
CIE-LCHlch(46.38, 58.37, 285.44°)
OKLaboklab(54.27% -0.0284 -0.1616)
OKLCHoklch(54.27% 0.164 260)
XYZxyz(17.4921, 15.5495, 59.8252)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306BCD #CD9230
analogous
#30BACD #306BCD #4330CD
triadic
#306BCD #CD306B #6BCD30
tetradic
#306BCD #CD30BA #CD9230 #30CD43
square
#306BCD #CD30BA #CD9230 #30CD43
split-complementary
#306BCD #CD4330 #BACD30
monochromatic
#19376A #24519B #306BCD #608EDA #92B1E5

Accessibility & contrast

On white

5.11
#306BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#306BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306BCD
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306BCD#FFFFFF#000000##FFFFFF
##306BCD1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3476D1
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#008292
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #306bcd;
/* rgb */ color: rgb(48, 107, 205);
/* oklch */ color: oklch(54.3% 0.164 260.0);
Tailwind
colors: {
  custom: {
    50: '#7f94dd',
    500: '#306bcd',
    950: '#000000',
  },
}
SCSS
$custom: #306bcd;
$custom-light: #7f94dd;
$custom-dark: #000000;
JSON
{
  "hex": "#306bcd",
  "rgb": {
    "r": 48,
    "g": 107,
    "b": 205
  },
  "hsl": {
    "h": 217.452,
    "s": 62.055,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54271,
    "c": 0.1641,
    "h": 260
  },
  "luminance": 0.15552
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #306BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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