#306CB4#306CB4

#306CB4 is a mid, vivid cyan. Relative luminance 0.146; OKLCH L 52.8% C 0.130 H 254.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#306CB4
RGBrgb(48, 108, 180)
HSLhsl(213, 58%, 45%)
HSVhsv(213, 73%, 71%)
CMYKcmyk(73.3%, 40%, 0%, 29.4%)
CIE-LABlab(45.15, 5.53, -43.79)
CIE-LCHlch(45.15, 44.14, 277.20°)
OKLaboklab(52.83% -0.0341 -0.1249)
OKLCHoklch(52.83% 0.13 254.7)
XYZxyz(14.8167, 14.6471, 45.2175)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306CB4 #B47830
analogous
#30AEB4 #306CB4 #3630B4
triadic
#306CB4 #B4306C #6CB430
tetradic
#306CB4 #B430AE #B47830 #30B436
square
#306CB4 #B430AE #B47830 #30B436
split-complementary
#306CB4 #B43630 #AEB430
monochromatic
#163253 #234F84 #306CB4 #518BD1 #81ABDD

Accessibility & contrast

On white

5.34
#306CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#306CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306CB4
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306CB4#FFFFFF#000000##FFFFFF
##306CB41.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A71B7
Deuteranopia (green-blind)
#3565B3
Tritanopia (blue-blind)
#007D87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #306cb4;
/* rgb */ color: rgb(48, 108, 180);
/* oklch */ color: oklch(52.8% 0.130 254.7);
Tailwind
colors: {
  custom: {
    50: '#7995cb',
    500: '#306cb4',
    950: '#000000',
  },
}
SCSS
$custom: #306cb4;
$custom-light: #7995cb;
$custom-dark: #000000;
JSON
{
  "hex": "#306cb4",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 180
  },
  "hsl": {
    "h": 212.727,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5283,
    "c": 0.1295,
    "h": 254.7
  },
  "luminance": 0.14649
}

Semantic roles & 50–950 ramp

primary
#306CB4
secondary
#C6A379
accent
#9B47E1
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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