#306EC2#306EC2

#306EC2 is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 54.2% C 0.146 H 257.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#306EC2
RGBrgb(48, 110, 194)
HSLhsl(215, 60%, 47%)
HSVhsv(215, 75%, 76%)
CMYKcmyk(75.3%, 43.3%, 0%, 23.9%)
CIE-LABlab(46.54, 9.50, -49.67)
CIE-LCHlch(46.54, 50.58, 280.83°)
OKLaboklab(54.18% -0.0329 -0.1422)
OKLCHoklch(54.18% 0.146 257)
XYZxyz(16.5289, 15.6734, 53.1826)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306EC2 #C28430
analogous
#30B7C2 #306EC2 #3B30C2
triadic
#306EC2 #C2306E #6EC230
tetradic
#306EC2 #C230B7 #C28430 #30C23B
square
#306EC2 #C230B7 #C28430 #30C23B
split-complementary
#306EC2 #C23B30 #B7C230
monochromatic
#183660 #245291 #306EC2 #598ED6 #8AB0E2

Accessibility & contrast

On white

5.08
#306EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#306EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306EC2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306EC2#FFFFFF#000000##FFFFFF
##306EC21.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4475C5
Deuteranopia (green-blind)
#2968C0
Tritanopia (blue-blind)
#00828E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #306ec2;
/* rgb */ color: rgb(48, 110, 194);
/* oklch */ color: oklch(54.2% 0.146 257.0);
Tailwind
colors: {
  custom: {
    50: '#7c97d5',
    500: '#306ec2',
    950: '#000000',
  },
}
SCSS
$custom: #306ec2;
$custom-light: #7c97d5;
$custom-dark: #000000;
JSON
{
  "hex": "#306ec2",
  "rgb": {
    "r": 48,
    "g": 110,
    "b": 194
  },
  "hsl": {
    "h": 214.521,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54179,
    "c": 0.14593,
    "h": 257
  },
  "luminance": 0.15675
}

Semantic roles & 50–950 ramp

primary
#306EC2
secondary
#CCAD82
accent
#A044E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #306EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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