#306EB4#306EB4

#306EB4 is a mid, vivid cyan. Relative luminance 0.151; OKLCH L 53.3% C 0.127 H 253.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#306EB4
RGBrgb(48, 110, 180)
HSLhsl(212, 58%, 45%)
HSVhsv(212, 73%, 71%)
CMYKcmyk(73.3%, 38.9%, 0%, 29.4%)
CIE-LABlab(45.74, 4.28, -42.85)
CIE-LCHlch(45.74, 43.07, 275.71°)
OKLaboklab(53.29% -0.036 -0.1222)
OKLCHoklch(53.29% 0.127 253.6)
XYZxyz(15.0300, 15.0739, 45.2886)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306EB4 #B47630
analogous
#30B0B4 #306EB4 #3430B4
triadic
#306EB4 #B4306E #6EB430
tetradic
#306EB4 #B430B0 #B47630 #30B434
square
#306EB4 #B430B0 #B47630 #30B434
split-complementary
#306EB4 #B43430 #B0B430
monochromatic
#163353 #235084 #306EB4 #518DD1 #81ACDD

Accessibility & contrast

On white

5.23
#306EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#306EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306EB4
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306EB4#FFFFFF#000000##FFFFFF
##306EB41.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #306eb4;
/* rgb */ color: rgb(48, 110, 180);
/* oklch */ color: oklch(53.3% 0.127 253.6);
Tailwind
colors: {
  custom: {
    50: '#7997cb',
    500: '#306eb4',
    950: '#000000',
  },
}
SCSS
$custom: #306eb4;
$custom-light: #7997cb;
$custom-dark: #000000;
JSON
{
  "hex": "#306eb4",
  "rgb": {
    "r": 48,
    "g": 110,
    "b": 180
  },
  "hsl": {
    "h": 211.818,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53289,
    "c": 0.12734,
    "h": 253.6
  },
  "luminance": 0.15076
}

Semantic roles & 50–950 ramp

primary
#306EB4
secondary
#C6A279
accent
#9947E1
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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