#306CBC#306CBC

#306CBC is a mid, vivid cyan. Relative luminance 0.150; OKLCH L 53.3% C 0.140 H 256.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#306CBC
RGBrgb(48, 108, 188)
HSLhsl(214, 59%, 46%)
HSVhsv(214, 74%, 74%)
CMYKcmyk(74.5%, 42.6%, 0%, 26.3%)
CIE-LABlab(45.61, 8.52, -47.70)
CIE-LCHlch(45.61, 48.45, 280.13°)
OKLaboklab(53.34% -0.0323 -0.1364)
OKLCHoklch(53.34% 0.14 256.7)
XYZxyz(15.6553, 14.9826, 49.6341)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306CBC #BC8030
analogous
#30B2BC #306CBC #3A30BC
triadic
#306CBC #BC306C #6CBC30
tetradic
#306CBC #BC30B2 #BC8030 #30BC3A
square
#306CBC #BC30B2 #BC8030 #30BC3A
split-complementary
#306CBC #BC3A30 #B2BC30
monochromatic
#17345A #24508B #306CBC #558CD4 #86ADE0

Accessibility & contrast

On white

5.25
#306CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#306CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306CBC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306CBC#FFFFFF#000000##FFFFFF
##306CBC1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4573BF
Deuteranopia (green-blind)
#2C66BA
Tritanopia (blue-blind)
#007F8B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #306cbc;
/* rgb */ color: rgb(48, 108, 188);
/* oklch */ color: oklch(53.3% 0.140 256.7);
Tailwind
colors: {
  custom: {
    50: '#7b95d1',
    500: '#306cbc',
    950: '#000000',
  },
}
SCSS
$custom: #306cbc;
$custom-light: #7b95d1;
$custom-dark: #000000;
JSON
{
  "hex": "#306cbc",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 188
  },
  "hsl": {
    "h": 214.286,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53341,
    "c": 0.14019,
    "h": 256.7
  },
  "luminance": 0.14984
}

Semantic roles & 50–950 ramp

primary
#306CBC
secondary
#CAA97E
accent
#9F45E3
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #306CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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