#306CB2#306CB2

#306CB2 is a mid, vivid cyan. Relative luminance 0.146; OKLCH L 52.7% C 0.127 H 254.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#306CB2
RGBrgb(48, 108, 178)
HSLhsl(212, 58%, 44%)
HSVhsv(212, 73%, 70%)
CMYKcmyk(73%, 39.3%, 0%, 30.2%)
CIE-LABlab(45.03, 4.79, -42.80)
CIE-LCHlch(45.03, 43.07, 276.38°)
OKLaboklab(52.71% -0.0346 -0.122)
OKLCHoklch(52.71% 0.127 254.2)
XYZxyz(14.6144, 14.5662, 44.1522)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306CB2 #B27630
analogous
#30ADB2 #306CB2 #3530B2
triadic
#306CB2 #B2306C #6CB230
tetradic
#306CB2 #B230AD #B27630 #30B235
square
#306CB2 #B230AD #B27630 #30B235
split-complementary
#306CB2 #B23530 #ADB230
monochromatic
#163252 #234F82 #306CB2 #508BD0 #80ABDD

Accessibility & contrast

On white

5.37
#306CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#306CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306CB2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306CB2#FFFFFF#000000##FFFFFF
##306CB21.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B5
Deuteranopia (green-blind)
#3765B1
Tritanopia (blue-blind)
#007C86
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #306cb2;
/* rgb */ color: rgb(48, 108, 178);
/* oklch */ color: oklch(52.7% 0.127 254.2);
Tailwind
colors: {
  custom: {
    50: '#7995c9',
    500: '#306cb2',
    950: '#000000',
  },
}
SCSS
$custom: #306cb2;
$custom-light: #7995c9;
$custom-dark: #000000;
JSON
{
  "hex": "#306cb2",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 178
  },
  "hsl": {
    "h": 212.308,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52706,
    "c": 0.12684,
    "h": 254.2
  },
  "luminance": 0.14568
}

Semantic roles & 50–950 ramp

primary
#306CB2
secondary
#C6A278
accent
#9A47E1
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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