#306CC9#306CC9

#306CC9 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.2% C 0.158 H 259.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#306CC9
RGBrgb(48, 108, 201)
HSLhsl(216, 61%, 49%)
HSVhsv(216, 76%, 79%)
CMYKcmyk(76.1%, 46.3%, 0%, 21.2%)
CIE-LABlab(46.40, 13.40, -53.93)
CIE-LCHlch(46.40, 55.56, 283.95°)
OKLaboklab(54.21% -0.0299 -0.1547)
OKLCHoklch(54.21% 0.158 259.1)
XYZxyz(17.1203, 15.5686, 57.3498)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306CC9 #C98D30
analogous
#30B9C9 #306CC9 #4130C9
triadic
#306CC9 #C9306C #6CC930
tetradic
#306CC9 #C930B9 #C98D30 #30C941
square
#306CC9 #C930B9 #C98D30 #30C941
split-complementary
#306CC9 #C94130 #B9C930
monochromatic
#183766 #245198 #306CC9 #5E8ED8 #8FB1E4

Accessibility & contrast

On white

5.10
#306CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #306CC9
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306CC9#FFFFFF#000000##FFFFFF
##306CC91.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A75CC
Deuteranopia (green-blind)
#1467C7
Tritanopia (blue-blind)
#008291
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #306cc9;
/* rgb */ color: rgb(48, 108, 201);
/* oklch */ color: oklch(54.2% 0.158 259.1);
Tailwind
colors: {
  custom: {
    50: '#7e95da',
    500: '#306cc9',
    950: '#000000',
  },
}
SCSS
$custom: #306cc9;
$custom-light: #7e95da;
$custom-dark: #000000;
JSON
{
  "hex": "#306cc9",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 201
  },
  "hsl": {
    "h": 216.471,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54209,
    "c": 0.15759,
    "h": 259.1
  },
  "luminance": 0.15571
}

Semantic roles & 50–950 ramp

primary
#306CC9
secondary
#CFB286
accent
#A543E5
background
#F8F9FD
surface
#EFF1FB
border
#CACBD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #306CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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