#306FC5#306FC5

#306FC5 is a mid, vivid cyan. Relative luminance 0.160; OKLCH L 54.6% C 0.149 H 257.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#306FC5
RGBrgb(48, 111, 197)
HSLhsl(215, 61%, 48%)
HSVhsv(215, 76%, 77%)
CMYKcmyk(75.6%, 43.7%, 0%, 22.7%)
CIE-LABlab(47.01, 10.00, -50.66)
CIE-LCHlch(47.01, 51.63, 281.17°)
OKLaboklab(54.6% -0.0331 -0.1451)
OKLCHoklch(54.6% 0.149 257.1)
XYZxyz(16.9777, 16.0265, 55.0111)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306FC5 #C58630
analogous
#30B9C5 #306FC5 #3C30C5
triadic
#306FC5 #C5306F #6FC530
tetradic
#306FC5 #C530B9 #C58630 #30C53C
square
#306FC5 #C530B9 #C58630 #30C53C
split-complementary
#306FC5 #C53C30 #B9C530
monochromatic
#183863 #245394 #306FC5 #5B90D7 #8CB1E3

Accessibility & contrast

On white

4.99
#306FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #306FC5
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306FC5#FFFFFF#000000##FFFFFF
##306FC51.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4477C8
Deuteranopia (green-blind)
#2769C3
Tritanopia (blue-blind)
#008390
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #306fc5;
/* rgb */ color: rgb(48, 111, 197);
/* oklch */ color: oklch(54.6% 0.149 257.1);
Tailwind
colors: {
  custom: {
    50: '#7d97d7',
    500: '#306fc5',
    950: '#000000',
  },
}
SCSS
$custom: #306fc5;
$custom-light: #7d97d7;
$custom-dark: #000000;
JSON
{
  "hex": "#306fc5",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 197
  },
  "hsl": {
    "h": 214.631,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54598,
    "c": 0.14879,
    "h": 257.1
  },
  "luminance": 0.16028
}

Semantic roles & 50–950 ramp

primary
#306FC5
secondary
#CDAE84
accent
#A044E4
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #306FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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