#306DAB#306DAB

#306DAB is a mid, moderate cyan. Relative luminance 0.145; OKLCH L 52.5% C 0.117 H 251.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#306DAB
RGBrgb(48, 109, 171)
HSLhsl(210, 56%, 43%)
HSVhsv(210, 72%, 67%)
CMYKcmyk(71.9%, 36.3%, 0%, 32.9%)
CIE-LABlab(44.95, 1.58, -38.85)
CIE-LCHlch(44.95, 38.88, 272.32°)
OKLaboklab(52.51% -0.0373 -0.1104)
OKLCHoklch(52.51% 0.117 251.3)
XYZxyz(14.0355, 14.5044, 40.5801)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306DAB #AB6E30
analogous
#30AAAB #306DAB #3130AB
triadic
#306DAB #AB306D #6DAB30
tetradic
#306DAB #AB30AA #AB6E30 #30AB31
square
#306DAB #AB30AA #AB6E30 #30AB31
split-complementary
#306DAB #AB3130 #AAAB30
monochromatic
#15304B #234F7B #306DAB #4C8CCD #7BAADA

Accessibility & contrast

On white

5.38
#306DAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#306DAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306DAB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306DAB#FFFFFF#000000##FFFFFF
##306DAB1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5171AE
Deuteranopia (green-blind)
#3F65AA
Tritanopia (blue-blind)
#007C84
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #306dab;
/* rgb */ color: rgb(48, 109, 171);
/* oklch */ color: oklch(52.5% 0.117 251.3);
Tailwind
colors: {
  custom: {
    50: '#7896c4',
    500: '#306dab',
    950: '#000000',
  },
}
SCSS
$custom: #306dab;
$custom-light: #7896c4;
$custom-dark: #000000;
JSON
{
  "hex": "#306dab",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 171
  },
  "hsl": {
    "h": 210.244,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52513,
    "c": 0.11657,
    "h": 251.3
  },
  "luminance": 0.14506
}

Semantic roles & 50–950 ramp

primary
#306DAB
secondary
#C39C74
accent
#9548DF
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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