#306980#306980

#306980 is a mid, moderate cyan. Relative luminance 0.123; OKLCH L 49.3% C 0.070 H 227.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#306980
RGBrgb(48, 105, 128)
HSLhsl(197, 45%, 35%)
HSVhsv(197, 63%, 50%)
CMYKcmyk(62.5%, 18%, 0%, 49.8%)
CIE-LABlab(41.67, -11.25, -18.38)
CIE-LCHlch(41.67, 21.55, 238.53°)
OKLaboklab(49.25% -0.0474 -0.0512)
OKLCHoklch(49.25% 0.07 227.2)
XYZxyz(10.1653, 12.2890, 22.2542)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306980 #804730
analogous
#30806F #306980 #304180
triadic
#306980 #803069 #698030
tetradic
#306980 #6F3080 #804730 #418030
square
#306980 #6F3080 #804730 #418030
split-complementary
#306980 #803041 #806F30
monochromatic
#0F2027 #1F4453 #306980 #418EAD #65AAC5

Accessibility & contrast

On white

6.07
#306980 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#306980 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306980
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306980#FFFFFF#000000##FFFFFF
##3069801.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6781
Deuteranopia (green-blind)
#515F80
Tritanopia (blue-blind)
#007070
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #306980;
/* rgb */ color: rgb(48, 105, 128);
/* oklch */ color: oklch(49.3% 0.070 227.2);
Tailwind
colors: {
  custom: {
    50: '#7194a5',
    500: '#306980',
    950: '#000000',
  },
}
SCSS
$custom: #306980;
$custom-light: #7194a5;
$custom-dark: #000000;
JSON
{
  "hex": "#306980",
  "rgb": {
    "r": 48,
    "g": 105,
    "b": 128
  },
  "hsl": {
    "h": 197.25,
    "s": 45.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.49253,
    "c": 0.06979,
    "h": 227.2
  },
  "luminance": 0.1229
}

Semantic roles & 50–950 ramp

primary
#306980
secondary
#AC765F
accent
#7853D5
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D0F
muted
#7B7E7F

Preview Lab

Preview with #306980

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

Preview Lab → · Contrast checker → · Palette generator →

#306980 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva