#306EA6#306EA6

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

Color values

HEX#306EA6
RGBrgb(48, 110, 166)
HSLhsl(208, 55%, 42%)
HSVhsv(208, 71%, 65%)
CMYKcmyk(71.1%, 33.7%, 0%, 34.9%)
CIE-LABlab(44.99, -0.87, -35.85)
CIE-LCHlch(44.99, 35.86, 268.61°)
OKLaboklab(52.46% -0.0397 -0.1017)
OKLCHoklch(52.46% 0.109 248.7)
XYZxyz(13.6752, 14.5319, 38.1532)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306EA6 #A66830
analogous
#30A6A3 #306EA6 #3033A6
triadic
#306EA6 #A6306E #6EA630
tetradic
#306EA6 #A330A6 #A66830 #33A630
square
#306EA6 #A330A6 #A66830 #33A630
split-complementary
#306EA6 #A63033 #A6A330
monochromatic
#152F47 #224F77 #306EA6 #498DCA #78ABD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##306EA6#FFFFFF#000000##FFFFFF
##306EA61.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5571A8
Deuteranopia (green-blind)
#4465A5
Tritanopia (blue-blind)
#007B82
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #306ea6;
/* rgb */ color: rgb(48, 110, 166);
/* oklch */ color: oklch(52.5% 0.109 248.7);
Tailwind
colors: {
  custom: {
    50: '#7797c0',
    500: '#306ea6',
    950: '#000000',
  },
}
SCSS
$custom: #306ea6;
$custom-light: #7797c0;
$custom-dark: #000000;
JSON
{
  "hex": "#306ea6",
  "rgb": {
    "r": 48,
    "g": 110,
    "b": 166
  },
  "hsl": {
    "h": 208.475,
    "s": 55.14,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52458,
    "c": 0.10915,
    "h": 248.7
  },
  "luminance": 0.14533
}

Semantic roles & 50–950 ramp

primary
#306EA6
secondary
#C09771
accent
#9049DE
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #306EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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