#306CB1#306CB1

#306CB1 is a mid, vivid cyan. Relative luminance 0.145; OKLCH L 52.6% C 0.126 H 253.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#306CB1
RGBrgb(48, 108, 177)
HSLhsl(212, 57%, 44%)
HSVhsv(212, 73%, 69%)
CMYKcmyk(72.9%, 39%, 0%, 30.6%)
CIE-LABlab(44.98, 4.42, -42.31)
CIE-LCHlch(44.98, 42.54, 275.96°)
OKLaboklab(52.64% -0.0348 -0.1206)
OKLCHoklch(52.64% 0.126 253.9)
XYZxyz(14.5144, 14.5262, 43.6253)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306CB1 #B17530
analogous
#30ADB1 #306CB1 #3530B1
triadic
#306CB1 #B1306C #6CB130
tetradic
#306CB1 #B130AD #B17530 #30B135
square
#306CB1 #B130AD #B17530 #30B135
split-complementary
#306CB1 #B13530 #ADB130
monochromatic
#163151 #234F81 #306CB1 #4F8BCF #7FAADC

Accessibility & contrast

On white

5.38
#306CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #306CB1
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306CB1#FFFFFF#000000##FFFFFF
##306CB11.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C71B4
Deuteranopia (green-blind)
#3865B0
Tritanopia (blue-blind)
#007C86
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #306cb1;
/* rgb */ color: rgb(48, 108, 177);
/* oklch */ color: oklch(52.6% 0.126 253.9);
Tailwind
colors: {
  custom: {
    50: '#7995c9',
    500: '#306cb1',
    950: '#000000',
  },
}
SCSS
$custom: #306cb1;
$custom-light: #7995c9;
$custom-dark: #000000;
JSON
{
  "hex": "#306cb1",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 177
  },
  "hsl": {
    "h": 212.093,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52644,
    "c": 0.12551,
    "h": 253.9
  },
  "luminance": 0.14528
}

Semantic roles & 50–950 ramp

primary
#306CB1
secondary
#C5A178
accent
#9947E1
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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