#306DC5#306DC5

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

Color values

HEX#306DC5
RGBrgb(48, 109, 197)
HSLhsl(215, 61%, 48%)
HSVhsv(215, 76%, 77%)
CMYKcmyk(75.6%, 44.7%, 0%, 22.7%)
CIE-LABlab(46.44, 11.26, -51.57)
CIE-LCHlch(46.44, 52.78, 282.32°)
OKLaboklab(54.16% -0.0314 -0.1478)
OKLCHoklch(54.16% 0.151 258)
XYZxyz(16.7619, 15.5950, 54.9392)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306DC5 #C58830
analogous
#30B7C5 #306DC5 #3D30C5
triadic
#306DC5 #C5306D #6DC530
tetradic
#306DC5 #C530B7 #C58830 #30C53D
square
#306DC5 #C530B7 #C58830 #30C53D
split-complementary
#306DC5 #C53D30 #B7C530
monochromatic
#183763 #245294 #306DC5 #5B8ED7 #8CB0E3

Accessibility & contrast

On white

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

On black

4.12
#306DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##306DC5#FFFFFF#000000##FFFFFF
##306DC51.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4075C8
Deuteranopia (green-blind)
#2168C3
Tritanopia (blue-blind)
#00828F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #306dc5;
/* rgb */ color: rgb(48, 109, 197);
/* oklch */ color: oklch(54.2% 0.151 258.0);
Tailwind
colors: {
  custom: {
    50: '#7d96d7',
    500: '#306dc5',
    950: '#000000',
  },
}
SCSS
$custom: #306dc5;
$custom-light: #7d96d7;
$custom-dark: #000000;
JSON
{
  "hex": "#306dc5",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 197
  },
  "hsl": {
    "h": 215.436,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54156,
    "c": 0.15108,
    "h": 258
  },
  "luminance": 0.15597
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #306DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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