#306FC6#306FC6

#306FC6 is a mid, vivid cyan. Relative luminance 0.161; OKLCH L 54.7% C 0.150 H 257.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#306FC6
RGBrgb(48, 111, 198)
HSLhsl(215, 61%, 48%)
HSVhsv(215, 76%, 78%)
CMYKcmyk(75.8%, 43.9%, 0%, 22.4%)
CIE-LABlab(47.07, 10.37, -51.13)
CIE-LCHlch(47.07, 52.18, 281.47°)
OKLaboklab(54.66% -0.0329 -0.1465)
OKLCHoklch(54.66% 0.15 257.3)
XYZxyz(17.0927, 16.0725, 55.6166)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306FC6 #C68730
analogous
#30BAC6 #306FC6 #3C30C6
triadic
#306FC6 #C6306F #6FC630
tetradic
#306FC6 #C630BA #C68730 #30C63C
square
#306FC6 #C630BA #C68730 #30C63C
split-complementary
#306FC6 #C63C30 #BAC630
monochromatic
#183863 #245395 #306FC6 #5C90D7 #8DB1E3

Accessibility & contrast

On white

4.98
#306FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#306FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306FC6
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306FC6#FFFFFF#000000##FFFFFF
##306FC61.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4377C9
Deuteranopia (green-blind)
#2569C4
Tritanopia (blue-blind)
#008491
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #306fc6;
/* rgb */ color: rgb(48, 111, 198);
/* oklch */ color: oklch(54.7% 0.150 257.3);
Tailwind
colors: {
  custom: {
    50: '#7d97d8',
    500: '#306fc6',
    950: '#000000',
  },
}
SCSS
$custom: #306fc6;
$custom-light: #7d97d8;
$custom-dark: #000000;
JSON
{
  "hex": "#306fc6",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 198
  },
  "hsl": {
    "h": 214.8,
    "s": 60.976,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54664,
    "c": 0.15012,
    "h": 257.3
  },
  "luminance": 0.16074
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #306FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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