#306CB8#306CB8

#306CB8 is a mid, vivid cyan. Relative luminance 0.148; OKLCH L 53.1% C 0.135 H 255.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#306CB8
RGBrgb(48, 108, 184)
HSLhsl(214, 59%, 45%)
HSVhsv(214, 74%, 72%)
CMYKcmyk(73.9%, 41.3%, 0%, 27.8%)
CIE-LABlab(45.38, 7.02, -45.75)
CIE-LCHlch(45.38, 46.29, 278.73°)
OKLaboklab(53.08% -0.0332 -0.1307)
OKLCHoklch(53.08% 0.135 255.8)
XYZxyz(15.2300, 14.8125, 47.3945)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306CB8 #B87C30
analogous
#30B0B8 #306CB8 #3830B8
triadic
#306CB8 #B8306C #6CB830
tetradic
#306CB8 #B830B0 #B87C30 #30B838
square
#306CB8 #B830B0 #B87C30 #30B838
split-complementary
#306CB8 #B83830 #B0B830
monochromatic
#173357 #235087 #306CB8 #538BD2 #84ACDF

Accessibility & contrast

On white

5.30
#306CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#306CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306CB8
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306CB8#FFFFFF#000000##FFFFFF
##306CB81.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4872BB
Deuteranopia (green-blind)
#3166B6
Tritanopia (blue-blind)
#007E89
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #306cb8;
/* rgb */ color: rgb(48, 108, 184);
/* oklch */ color: oklch(53.1% 0.135 255.8);
Tailwind
colors: {
  custom: {
    50: '#7a95ce',
    500: '#306cb8',
    950: '#000000',
  },
}
SCSS
$custom: #306cb8;
$custom-light: #7a95ce;
$custom-dark: #000000;
JSON
{
  "hex": "#306cb8",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 184
  },
  "hsl": {
    "h": 213.529,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53083,
    "c": 0.13484,
    "h": 255.8
  },
  "luminance": 0.14814
}

Semantic roles & 50–950 ramp

primary
#306CB8
secondary
#C8A67C
accent
#9D46E2
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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