#306DC2#306DC2

#306DC2 is a mid, vivid cyan. Relative luminance 0.155; OKLCH L 54.0% C 0.147 H 257.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#306DC2
RGBrgb(48, 109, 194)
HSLhsl(215, 60%, 47%)
HSVhsv(215, 75%, 76%)
CMYKcmyk(75.3%, 43.8%, 0%, 23.9%)
CIE-LABlab(46.26, 10.13, -50.13)
CIE-LCHlch(46.26, 51.15, 281.43°)
OKLaboklab(53.96% -0.032 -0.1435)
OKLCHoklch(53.96% 0.147 257.4)
XYZxyz(16.4216, 15.4588, 53.1469)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306DC2 #C28530
analogous
#30B6C2 #306DC2 #3C30C2
triadic
#306DC2 #C2306D #6DC230
tetradic
#306DC2 #C230B6 #C28530 #30C23C
square
#306DC2 #C230B6 #C28530 #30C23C
split-complementary
#306DC2 #C23C30 #B6C230
monochromatic
#183660 #245191 #306DC2 #598DD6 #8AAFE2

Accessibility & contrast

On white

5.13
#306DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#306DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306DC2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306DC2#FFFFFF#000000##FFFFFF
##306DC21.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4275C5
Deuteranopia (green-blind)
#2667C0
Tritanopia (blue-blind)
#00818E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #306dc2;
/* rgb */ color: rgb(48, 109, 194);
/* oklch */ color: oklch(54.0% 0.147 257.4);
Tailwind
colors: {
  custom: {
    50: '#7c96d5',
    500: '#306dc2',
    950: '#000000',
  },
}
SCSS
$custom: #306dc2;
$custom-light: #7c96d5;
$custom-dark: #000000;
JSON
{
  "hex": "#306dc2",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 194
  },
  "hsl": {
    "h": 214.932,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53957,
    "c": 0.14707,
    "h": 257.4
  },
  "luminance": 0.15461
}

Semantic roles & 50–950 ramp

primary
#306DC2
secondary
#CCAD82
accent
#A144E3
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #306DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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