#306DC4#306DC4

#306DC4 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.1% C 0.150 H 257.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#306DC4
RGBrgb(48, 109, 196)
HSLhsl(215, 61%, 48%)
HSVhsv(215, 76%, 77%)
CMYKcmyk(75.5%, 44.4%, 0%, 23.1%)
CIE-LABlab(46.38, 10.88, -51.09)
CIE-LCHlch(46.38, 52.24, 282.03°)
OKLaboklab(54.09% -0.0316 -0.1464)
OKLCHoklch(54.09% 0.15 257.8)
XYZxyz(16.6477, 15.5493, 54.3378)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306DC4 #C48730
analogous
#30B7C4 #306DC4 #3D30C4
triadic
#306DC4 #C4306D #6DC430
tetradic
#306DC4 #C430B7 #C48730 #30C43D
square
#306DC4 #C430B7 #C48730 #30C43D
split-complementary
#306DC4 #C43D30 #B7C430
monochromatic
#183662 #245293 #306DC4 #5A8ED7 #8CB0E3

Accessibility & contrast

On white

5.11
#306DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #306DC4
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306DC4#FFFFFF#000000##FFFFFF
##306DC41.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4175C7
Deuteranopia (green-blind)
#2368C2
Tritanopia (blue-blind)
#00828F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #306dc4;
/* rgb */ color: rgb(48, 109, 196);
/* oklch */ color: oklch(54.1% 0.150 257.8);
Tailwind
colors: {
  custom: {
    50: '#7d96d6',
    500: '#306dc4',
    950: '#000000',
  },
}
SCSS
$custom: #306dc4;
$custom-light: #7d96d6;
$custom-dark: #000000;
JSON
{
  "hex": "#306dc4",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 196
  },
  "hsl": {
    "h": 215.27,
    "s": 60.656,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5409,
    "c": 0.14974,
    "h": 257.8
  },
  "luminance": 0.15551
}

Semantic roles & 50–950 ramp

primary
#306DC4
secondary
#CDAE83
accent
#A244E4
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #306DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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