#306CC2#306CC2

#306CC2 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 53.7% C 0.148 H 257.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#306CC2
RGBrgb(48, 108, 194)
HSLhsl(215, 60%, 47%)
HSVhsv(215, 75%, 76%)
CMYKcmyk(75.3%, 44.3%, 0%, 23.9%)
CIE-LABlab(45.97, 10.77, -50.59)
CIE-LCHlch(45.97, 51.72, 282.01°)
OKLaboklab(53.74% -0.0311 -0.1449)
OKLCHoklch(53.74% 0.148 257.9)
XYZxyz(16.3155, 15.2467, 53.1115)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306CC2 #C28630
analogous
#30B5C2 #306CC2 #3D30C2
triadic
#306CC2 #C2306C #6CC230
tetradic
#306CC2 #C230B5 #C28630 #30C23D
square
#306CC2 #C230B5 #C28630 #30C23D
split-complementary
#306CC2 #C23D30 #B5C230
monochromatic
#183560 #245191 #306CC2 #598CD6 #8AAEE2

Accessibility & contrast

On white

5.19
#306CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#306CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306CC2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306CC2#FFFFFF#000000##FFFFFF
##306CC21.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4074C5
Deuteranopia (green-blind)
#2367C0
Tritanopia (blue-blind)
#00808D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #306cc2;
/* rgb */ color: rgb(48, 108, 194);
/* oklch */ color: oklch(53.7% 0.148 257.9);
Tailwind
colors: {
  custom: {
    50: '#7c95d5',
    500: '#306cc2',
    950: '#000000',
  },
}
SCSS
$custom: #306cc2;
$custom-light: #7c95d5;
$custom-dark: #000000;
JSON
{
  "hex": "#306cc2",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 194
  },
  "hsl": {
    "h": 215.342,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53735,
    "c": 0.14823,
    "h": 257.9
  },
  "luminance": 0.15249
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #306CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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