#306AB4#306AB4

#306AB4 is a mid, vivid cyan. Relative luminance 0.142; OKLCH L 52.4% C 0.132 H 255.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#306AB4
RGBrgb(48, 106, 180)
HSLhsl(214, 58%, 45%)
HSVhsv(214, 73%, 71%)
CMYKcmyk(73.3%, 41.1%, 0%, 29.4%)
CIE-LABlab(44.56, 6.79, -44.72)
CIE-LCHlch(44.56, 45.23, 278.63°)
OKLaboklab(52.37% -0.0322 -0.1277)
OKLCHoklch(52.37% 0.132 255.8)
XYZxyz(14.6081, 14.2301, 45.1480)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306AB4 #B47A30
analogous
#30ACB4 #306AB4 #3830B4
triadic
#306AB4 #B4306A #6AB430
tetradic
#306AB4 #B430AC #B47A30 #30B438
square
#306AB4 #B430AC #B47A30 #30B438
split-complementary
#306AB4 #B43830 #ACB430
monochromatic
#163153 #234E84 #306AB4 #5189D1 #81AADD

Accessibility & contrast

On white

5.46
#306AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#306AB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306AB4
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306AB4#FFFFFF#000000##FFFFFF
##306AB41.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4770B7
Deuteranopia (green-blind)
#3164B3
Tritanopia (blue-blind)
#007B86
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #306ab4;
/* rgb */ color: rgb(48, 106, 180);
/* oklch */ color: oklch(52.4% 0.132 255.8);
Tailwind
colors: {
  custom: {
    50: '#7994cb',
    500: '#306ab4',
    950: '#000000',
  },
}
SCSS
$custom: #306ab4;
$custom-light: #7994cb;
$custom-dark: #000000;
JSON
{
  "hex": "#306ab4",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 180
  },
  "hsl": {
    "h": 213.636,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52374,
    "c": 0.13171,
    "h": 255.8
  },
  "luminance": 0.14232
}

Semantic roles & 50–950 ramp

primary
#306AB4
secondary
#C6A579
accent
#9D47E1
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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