#306CD3#306CD3

#306CD3 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 54.9% C 0.171 H 260.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#306CD3
RGBrgb(48, 108, 211)
HSLhsl(218, 65%, 51%)
HSVhsv(218, 77%, 83%)
CMYKcmyk(77.3%, 48.8%, 0%, 17.3%)
CIE-LABlab(47.05, 17.15, -58.61)
CIE-LCHlch(47.05, 61.07, 286.31°)
OKLaboklab(54.91% -0.0283 -0.1685)
OKLCHoklch(54.91% 0.171 260.5)
XYZxyz(18.3351, 16.0545, 63.7479)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306CD3 #D39730
analogous
#30BDD3 #306CD3 #4530D3
triadic
#306CD3 #D3306C #6CD330
tetradic
#306CD3 #D330BD #D39730 #30D345
square
#306CD3 #D330BD #D39730 #30D345
split-complementary
#306CD3 #D34530 #BDD330
monochromatic
#183971 #2352A3 #306CD3 #6290DE #95B4E8

Accessibility & contrast

On white

4.99
#306CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#306CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306CD3
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306CD3#FFFFFF#000000##FFFFFF
##306CD31.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F77D7
Deuteranopia (green-blind)
#0069D1
Tritanopia (blue-blind)
#008595
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #306cd3;
/* rgb */ color: rgb(48, 108, 211);
/* oklch */ color: oklch(54.9% 0.171 260.5);
Tailwind
colors: {
  custom: {
    50: '#8095e1',
    500: '#306cd3',
    950: '#000000',
  },
}
SCSS
$custom: #306cd3;
$custom-light: #8095e1;
$custom-dark: #000000;
JSON
{
  "hex": "#306cd3",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 211
  },
  "hsl": {
    "h": 217.914,
    "s": 64.94,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54909,
    "c": 0.17088,
    "h": 260.5
  },
  "luminance": 0.16057
}

Semantic roles & 50–950 ramp

primary
#306CD3
secondary
#D4B98B
accent
#AA40E8
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #306CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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