#306DB4#306DB4

#306DB4 is a mid, vivid cyan. Relative luminance 0.149; OKLCH L 53.1% C 0.128 H 254.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#306DB4
RGBrgb(48, 109, 180)
HSLhsl(212, 58%, 45%)
HSVhsv(212, 73%, 71%)
CMYKcmyk(73.3%, 39.4%, 0%, 29.4%)
CIE-LABlab(45.44, 4.91, -43.32)
CIE-LCHlch(45.44, 43.60, 276.46°)
OKLaboklab(53.06% -0.035 -0.1235)
OKLCHoklch(53.06% 0.128 254.2)
XYZxyz(14.9227, 14.8593, 45.2528)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306DB4 #B47730
analogous
#30AFB4 #306DB4 #3530B4
triadic
#306DB4 #B4306D #6DB430
tetradic
#306DB4 #B430AF #B47730 #30B435
square
#306DB4 #B430AF #B47730 #30B435
split-complementary
#306DB4 #B43530 #AFB430
monochromatic
#163253 #235084 #306DB4 #518CD1 #81ACDD

Accessibility & contrast

On white

5.29
#306DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#306DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306DB4
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306DB4#FFFFFF#000000##FFFFFF
##306DB41.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C72B7
Deuteranopia (green-blind)
#3766B3
Tritanopia (blue-blind)
#007E88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #306db4;
/* rgb */ color: rgb(48, 109, 180);
/* oklch */ color: oklch(53.1% 0.128 254.2);
Tailwind
colors: {
  custom: {
    50: '#7996cb',
    500: '#306db4',
    950: '#000000',
  },
}
SCSS
$custom: #306db4;
$custom-light: #7996cb;
$custom-dark: #000000;
JSON
{
  "hex": "#306db4",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 180
  },
  "hsl": {
    "h": 212.273,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53059,
    "c": 0.12842,
    "h": 254.2
  },
  "luminance": 0.14861
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #306DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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