#306AA8#306AA8

#306AA8 is a mid, moderate cyan. Relative luminance 0.138; OKLCH L 51.6% C 0.116 H 252.3°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#306AA8
RGBrgb(48, 106, 168)
HSLhsl(211, 56%, 42%)
HSVhsv(211, 71%, 66%)
CMYKcmyk(71.4%, 36.9%, 0%, 34.1%)
CIE-LABlab(43.89, 2.33, -38.76)
CIE-LCHlch(43.89, 38.83, 273.44°)
OKLaboklab(51.63% -0.0351 -0.1102)
OKLCHoklch(51.63% 0.116 252.3)
XYZxyz(13.4382, 13.7621, 38.9863)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306AA8 #A86E30
analogous
#30A6A8 #306AA8 #3230A8
triadic
#306AA8 #A8306A #6AA830
tetradic
#306AA8 #A830A6 #A86E30 #30A832
square
#306AA8 #A830A6 #A86E30 #30A832
split-complementary
#306AA8 #A83230 #A6A830
monochromatic
#152E49 #224C78 #306AA8 #4A88CB #7AA8D9

Accessibility & contrast

On white

5.60
#306AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#306AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306AA8
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306AA8#FFFFFF#000000##FFFFFF
##306AA81.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6EAB
Deuteranopia (green-blind)
#3C63A7
Tritanopia (blue-blind)
#007981
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #306aa8;
/* rgb */ color: rgb(48, 106, 168);
/* oklch */ color: oklch(51.6% 0.116 252.3);
Tailwind
colors: {
  custom: {
    50: '#7794c2',
    500: '#306aa8',
    950: '#000000',
  },
}
SCSS
$custom: #306aa8;
$custom-light: #7794c2;
$custom-dark: #000000;
JSON
{
  "hex": "#306aa8",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 168
  },
  "hsl": {
    "h": 211,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51632,
    "c": 0.1157,
    "h": 252.3
  },
  "luminance": 0.13764
}

Semantic roles & 50–950 ramp

primary
#306AA8
secondary
#C19B73
accent
#9649DF
background
#F7F9FB
surface
#EEF1F7
border
#C9CBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #306AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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