#306EC4#306EC4

#306EC4 is a mid, vivid cyan. Relative luminance 0.158; OKLCH L 54.3% C 0.149 H 257.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#306EC4
RGBrgb(48, 110, 196)
HSLhsl(215, 61%, 48%)
HSVhsv(215, 76%, 77%)
CMYKcmyk(75.5%, 43.9%, 0%, 23.1%)
CIE-LABlab(46.66, 10.25, -50.63)
CIE-LCHlch(46.66, 51.66, 281.45°)
OKLaboklab(54.31% -0.0325 -0.145)
OKLCHoklch(54.31% 0.149 257.4)
XYZxyz(16.7550, 15.7639, 54.3735)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306EC4 #C48630
analogous
#30B8C4 #306EC4 #3C30C4
triadic
#306EC4 #C4306E #6EC430
tetradic
#306EC4 #C430B8 #C48630 #30C43C
square
#306EC4 #C430B8 #C48630 #30C43C
split-complementary
#306EC4 #C43C30 #B8C430
monochromatic
#183762 #245293 #306EC4 #5A8FD7 #8CB0E3

Accessibility & contrast

On white

5.06
#306EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#306EC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306EC4
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306EC4#FFFFFF#000000##FFFFFF
##306EC41.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4376C7
Deuteranopia (green-blind)
#2668C2
Tritanopia (blue-blind)
#00828F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #306ec4;
/* rgb */ color: rgb(48, 110, 196);
/* oklch */ color: oklch(54.3% 0.149 257.4);
Tailwind
colors: {
  custom: {
    50: '#7d97d6',
    500: '#306ec4',
    950: '#000000',
  },
}
SCSS
$custom: #306ec4;
$custom-light: #7d97d6;
$custom-dark: #000000;
JSON
{
  "hex": "#306ec4",
  "rgb": {
    "r": 48,
    "g": 110,
    "b": 196
  },
  "hsl": {
    "h": 214.865,
    "s": 60.656,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54311,
    "c": 0.1486,
    "h": 257.4
  },
  "luminance": 0.15766
}

Semantic roles & 50–950 ramp

primary
#306EC4
secondary
#CDAE83
accent
#A144E4
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #306EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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