#306CC4#306CC4

#306CC4 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 53.9% C 0.151 H 258.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#306CC4
RGBrgb(48, 108, 196)
HSLhsl(216, 61%, 48%)
HSVhsv(216, 76%, 77%)
CMYKcmyk(75.5%, 44.9%, 0%, 23.1%)
CIE-LABlab(46.09, 11.52, -51.55)
CIE-LCHlch(46.09, 52.82, 282.59°)
OKLaboklab(53.87% -0.0307 -0.1477)
OKLCHoklch(53.87% 0.151 258.2)
XYZxyz(16.5416, 15.3371, 54.3024)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306CC4 #C48830
analogous
#30B6C4 #306CC4 #3E30C4
triadic
#306CC4 #C4306C #6CC430
tetradic
#306CC4 #C430B6 #C48830 #30C43E
square
#306CC4 #C430B6 #C48830 #30C43E
split-complementary
#306CC4 #C43E30 #B6C430
monochromatic
#183662 #245193 #306CC4 #5A8DD7 #8CAFE3

Accessibility & contrast

On white

5.16
#306CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#306CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306CC4
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306CC4#FFFFFF#000000##FFFFFF
##306CC41.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F74C7
Deuteranopia (green-blind)
#2067C2
Tritanopia (blue-blind)
#00818E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #306cc4;
/* rgb */ color: rgb(48, 108, 196);
/* oklch */ color: oklch(53.9% 0.151 258.2);
Tailwind
colors: {
  custom: {
    50: '#7d95d6',
    500: '#306cc4',
    950: '#000000',
  },
}
SCSS
$custom: #306cc4;
$custom-light: #7d95d6;
$custom-dark: #000000;
JSON
{
  "hex": "#306cc4",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 196
  },
  "hsl": {
    "h": 215.676,
    "s": 60.656,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53869,
    "c": 0.1509,
    "h": 258.2
  },
  "luminance": 0.15339
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #306CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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