#306CB6#306CB6

#306CB6 is a mid, vivid cyan. Relative luminance 0.147; OKLCH L 53.0% C 0.132 H 255.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#306CB6
RGBrgb(48, 108, 182)
HSLhsl(213, 58%, 45%)
HSVhsv(213, 74%, 71%)
CMYKcmyk(73.6%, 40.7%, 0%, 28.6%)
CIE-LABlab(45.26, 6.28, -44.77)
CIE-LCHlch(45.26, 45.21, 277.98°)
OKLaboklab(52.96% -0.0336 -0.1278)
OKLCHoklch(52.96% 0.132 255.3)
XYZxyz(15.0219, 14.7292, 46.2982)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306CB6 #B67A30
analogous
#30AFB6 #306CB6 #3730B6
triadic
#306CB6 #B6306C #6CB630
tetradic
#306CB6 #B630AF #B67A30 #30B637
square
#306CB6 #B630AF #B67A30 #30B637
split-complementary
#306CB6 #B63730 #AFB630
monochromatic
#163355 #234F86 #306CB6 #528BD1 #82ABDE

Accessibility & contrast

On white

5.32
#306CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#306CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306CB6
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306CB6#FFFFFF#000000##FFFFFF
##306CB61.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4972B9
Deuteranopia (green-blind)
#3365B5
Tritanopia (blue-blind)
#007D88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #306cb6;
/* rgb */ color: rgb(48, 108, 182);
/* oklch */ color: oklch(53.0% 0.132 255.3);
Tailwind
colors: {
  custom: {
    50: '#7a95cc',
    500: '#306cb6',
    950: '#000000',
  },
}
SCSS
$custom: #306cb6;
$custom-light: #7a95cc;
$custom-dark: #000000;
JSON
{
  "hex": "#306cb6",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 182
  },
  "hsl": {
    "h": 213.134,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52956,
    "c": 0.13217,
    "h": 255.3
  },
  "luminance": 0.14731
}

Semantic roles & 50–950 ramp

primary
#306CB6
secondary
#C7A57B
accent
#9C46E1
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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