#306FD6#306FD6

#306FD6 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.8% C 0.171 H 259.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#306FD6
RGBrgb(48, 111, 214)
HSLhsl(217, 67%, 51%)
HSVhsv(217, 78%, 84%)
CMYKcmyk(77.6%, 48.1%, 0%, 16.1%)
CIE-LABlab(48.07, 16.37, -58.67)
CIE-LCHlch(48.07, 60.91, 285.59°)
OKLaboklab(55.76% -0.0302 -0.1686)
OKLCHoklch(55.76% 0.171 259.8)
XYZxyz(19.0365, 16.8501, 65.8544)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306FD6 #D69730
analogous
#30C2D6 #306FD6 #4430D6
triadic
#306FD6 #D6306F #6FD630
tetradic
#306FD6 #D630C2 #D69730 #30D644
square
#306FD6 #D630C2 #D69730 #30D644
split-complementary
#306FD6 #D64430 #C2D630
monochromatic
#173B75 #2154A8 #306FD6 #6393E0 #96B6EA

Accessibility & contrast

On white

4.81
#306FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#306FD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306FD6
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306FD6#FFFFFF#000000##FFFFFF
##306FD61.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#347ADA
Deuteranopia (green-blind)
#006BD4
Tritanopia (blue-blind)
#008898
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #306fd6;
/* rgb */ color: rgb(48, 111, 214);
/* oklch */ color: oklch(55.8% 0.171 259.8);
Tailwind
colors: {
  custom: {
    50: '#8097e3',
    500: '#306fd6',
    950: '#000000',
  },
}
SCSS
$custom: #306fd6;
$custom-light: #8097e3;
$custom-dark: #000000;
JSON
{
  "hex": "#306fd6",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 214
  },
  "hsl": {
    "h": 217.229,
    "s": 66.935,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55757,
    "c": 0.17131,
    "h": 259.8
  },
  "luminance": 0.16852
}

Semantic roles & 50–950 ramp

primary
#306FD6
secondary
#D5BA8C
accent
#A93EEA
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0D15
muted
#7D7E84

Preview Lab

Preview with #306FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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