#306BC4#306BC4

#306BC4 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 53.6% C 0.152 H 258.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#306BC4
RGBrgb(48, 107, 196)
HSLhsl(216, 61%, 48%)
HSVhsv(216, 76%, 77%)
CMYKcmyk(75.5%, 45.4%, 0%, 23.1%)
CIE-LABlab(45.81, 12.15, -52.00)
CIE-LCHlch(45.81, 53.41, 283.15°)
OKLaboklab(53.65% -0.0299 -0.1491)
OKLCHoklch(53.65% 0.152 258.7)
XYZxyz(16.4368, 15.1274, 54.2675)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306BC4 #C48930
analogous
#30B5C4 #306BC4 #3F30C4
triadic
#306BC4 #C4306B #6BC430
tetradic
#306BC4 #C430B5 #C48930 #30C43F
square
#306BC4 #C430B5 #C48930 #30C43F
split-complementary
#306BC4 #C43F30 #B5C430
monochromatic
#183562 #245093 #306BC4 #5A8CD7 #8CAEE3

Accessibility & contrast

On white

5.22
#306BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#306BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306BC4
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306BC4#FFFFFF#000000##FFFFFF
##306BC41.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D74C7
Deuteranopia (green-blind)
#1C66C2
Tritanopia (blue-blind)
#00808E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #306bc4;
/* rgb */ color: rgb(48, 107, 196);
/* oklch */ color: oklch(53.6% 0.152 258.7);
Tailwind
colors: {
  custom: {
    50: '#7d94d6',
    500: '#306bc4',
    950: '#000000',
  },
}
SCSS
$custom: #306bc4;
$custom-light: #7d94d6;
$custom-dark: #000000;
JSON
{
  "hex": "#306bc4",
  "rgb": {
    "r": 48,
    "g": 107,
    "b": 196
  },
  "hsl": {
    "h": 216.081,
    "s": 60.656,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5365,
    "c": 0.15206,
    "h": 258.7
  },
  "luminance": 0.15129
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #306BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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