#306DAC#306DAC

#306DAC is a mid, moderate cyan. Relative luminance 0.145; OKLCH L 52.6% C 0.118 H 251.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#306DAC
RGBrgb(48, 109, 172)
HSLhsl(210, 56%, 43%)
HSVhsv(210, 72%, 67%)
CMYKcmyk(72.1%, 36.6%, 0%, 32.5%)
CIE-LABlab(45.00, 1.94, -39.35)
CIE-LCHlch(45.00, 39.40, 272.83°)
OKLaboklab(52.57% -0.037 -0.1119)
OKLCHoklch(52.57% 0.118 251.7)
XYZxyz(14.1312, 14.5427, 41.0840)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306DAC #AC6F30
analogous
#30ABAC #306DAC #3130AC
triadic
#306DAC #AC306D #6DAC30
tetradic
#306DAC #AC30AB #AC6F30 #30AC31
square
#306DAC #AC30AB #AC6F30 #30AC31
split-complementary
#306DAC #AC3130 #ABAC30
monochromatic
#15304C #234F7C #306DAC #4C8CCD #7CAADA

Accessibility & contrast

On white

5.37
#306DAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#306DAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306DAC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306DAC#FFFFFF#000000##FFFFFF
##306DAC1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5071AF
Deuteranopia (green-blind)
#3E65AB
Tritanopia (blue-blind)
#007C84
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #306dac;
/* rgb */ color: rgb(48, 109, 172);
/* oklch */ color: oklch(52.6% 0.118 251.7);
Tailwind
colors: {
  custom: {
    50: '#7896c5',
    500: '#306dac',
    950: '#000000',
  },
}
SCSS
$custom: #306dac;
$custom-light: #7896c5;
$custom-dark: #000000;
JSON
{
  "hex": "#306dac",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 172
  },
  "hsl": {
    "h": 210.484,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52573,
    "c": 0.11787,
    "h": 251.7
  },
  "luminance": 0.14544
}

Semantic roles & 50–950 ramp

primary
#306DAC
secondary
#C39D75
accent
#9548E0
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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