#306BA6#306BA6

#306BA6 is a mid, moderate cyan. Relative luminance 0.139; OKLCH L 51.7% C 0.112 H 250.9°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#306BA6
RGBrgb(48, 107, 166)
HSLhsl(210, 55%, 42%)
HSVhsv(210, 71%, 65%)
CMYKcmyk(71.1%, 35.5%, 0%, 34.9%)
CIE-LABlab(44.08, 0.98, -37.28)
CIE-LCHlch(44.08, 37.29, 271.50°)
OKLaboklab(51.75% -0.0367 -0.1059)
OKLCHoklch(51.75% 0.112 250.9)
XYZxyz(13.3570, 13.8955, 38.0472)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306BA6 #A66B30
analogous
#30A6A6 #306BA6 #3030A6
triadic
#306BA6 #A6306B #6BA630
tetradic
#306BA6 #A630A6 #A66B30 #30A630
square
#306BA6 #A630A6 #A66B30 #30A630
split-complementary
#306BA6 #A63030 #A6A630
monochromatic
#152E47 #224C77 #306BA6 #498ACA #78A8D8

Accessibility & contrast

On white

5.56
#306BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#306BA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306BA6
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306BA6#FFFFFF#000000##FFFFFF
##306BA61.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506EA8
Deuteranopia (green-blind)
#3F63A5
Tritanopia (blue-blind)
#007980
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #306ba6;
/* rgb */ color: rgb(48, 107, 166);
/* oklch */ color: oklch(51.7% 0.112 250.9);
Tailwind
colors: {
  custom: {
    50: '#7795c1',
    500: '#306ba6',
    950: '#000000',
  },
}
SCSS
$custom: #306ba6;
$custom-light: #7795c1;
$custom-dark: #000000;
JSON
{
  "hex": "#306ba6",
  "rgb": {
    "r": 48,
    "g": 107,
    "b": 166
  },
  "hsl": {
    "h": 210,
    "s": 55.14,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51749,
    "c": 0.11206,
    "h": 250.9
  },
  "luminance": 0.13897
}

Semantic roles & 50–950 ramp

primary
#306BA6
secondary
#C09971
accent
#9449DE
background
#F7F9FB
surface
#EEF1F7
border
#C9CBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #306BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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