#306CC3#306CC3

#306CC3 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 53.8% C 0.150 H 258.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#306CC3
RGBrgb(48, 108, 195)
HSLhsl(216, 60%, 48%)
HSVhsv(216, 75%, 76%)
CMYKcmyk(75.4%, 44.6%, 0%, 23.5%)
CIE-LABlab(46.03, 11.14, -51.07)
CIE-LCHlch(46.03, 52.27, 282.31°)
OKLaboklab(53.8% -0.0309 -0.1463)
OKLCHoklch(53.8% 0.15 258.1)
XYZxyz(16.4282, 15.2918, 53.7050)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306CC3 #C38730
analogous
#30B6C3 #306CC3 #3D30C3
triadic
#306CC3 #C3306C #6CC330
tetradic
#306CC3 #C330B6 #C38730 #30C33D
square
#306CC3 #C330B6 #C38730 #30C33D
split-complementary
#306CC3 #C33D30 #B6C330
monochromatic
#183661 #245192 #306CC3 #5A8DD6 #8BAFE2

Accessibility & contrast

On white

5.17
#306CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#306CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306CC3
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306CC3#FFFFFF#000000##FFFFFF
##306CC31.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4074C6
Deuteranopia (green-blind)
#2167C1
Tritanopia (blue-blind)
#00818E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #306cc3;
/* rgb */ color: rgb(48, 108, 195);
/* oklch */ color: oklch(53.8% 0.150 258.1);
Tailwind
colors: {
  custom: {
    50: '#7c95d6',
    500: '#306cc3',
    950: '#000000',
  },
}
SCSS
$custom: #306cc3;
$custom-light: #7c95d6;
$custom-dark: #000000;
JSON
{
  "hex": "#306cc3",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 195
  },
  "hsl": {
    "h": 215.51,
    "s": 60.494,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53802,
    "c": 0.14957,
    "h": 258.1
  },
  "luminance": 0.15294
}

Semantic roles & 50–950 ramp

primary
#306CC3
secondary
#CCAE82
accent
#A344E4
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #306CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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