#306BAC#306BAC

#306BAC is a mid, moderate cyan. Relative luminance 0.141; OKLCH L 52.1% C 0.120 H 253.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#306BAC
RGBrgb(48, 107, 172)
HSLhsl(211, 56%, 43%)
HSVhsv(211, 72%, 67%)
CMYKcmyk(72.1%, 37.8%, 0%, 32.5%)
CIE-LABlab(44.41, 3.19, -40.29)
CIE-LCHlch(44.41, 40.42, 274.52°)
OKLaboklab(52.11% -0.0351 -0.1147)
OKLCHoklch(52.11% 0.12 253)
XYZxyz(13.9202, 14.1208, 41.0137)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306BAC #AC7130
analogous
#30A9AC #306BAC #3330AC
triadic
#306BAC #AC306B #6BAC30
tetradic
#306BAC #AC30A9 #AC7130 #30AC33
square
#306BAC #AC30A9 #AC7130 #30AC33
split-complementary
#306BAC #AC3330 #A9AC30
monochromatic
#152F4C #234D7C #306BAC #4C89CD #7CA9DA

Accessibility & contrast

On white

5.49
#306BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#306BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306BAC
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306BAC#FFFFFF#000000##FFFFFF
##306BAC1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6FAF
Deuteranopia (green-blind)
#3B64AB
Tritanopia (blue-blind)
#007A83
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #306bac;
/* rgb */ color: rgb(48, 107, 172);
/* oklch */ color: oklch(52.1% 0.120 253.0);
Tailwind
colors: {
  custom: {
    50: '#7894c5',
    500: '#306bac',
    950: '#000000',
  },
}
SCSS
$custom: #306bac;
$custom-light: #7894c5;
$custom-dark: #000000;
JSON
{
  "hex": "#306bac",
  "rgb": {
    "r": 48,
    "g": 107,
    "b": 172
  },
  "hsl": {
    "h": 211.452,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52107,
    "c": 0.11995,
    "h": 253
  },
  "luminance": 0.14122
}

Semantic roles & 50–950 ramp

primary
#306BAC
secondary
#C39E75
accent
#9848E0
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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