#306791#306791

#306791 is a mid, moderate cyan. Relative luminance 0.124; OKLCH L 49.6% C 0.089 H 244.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#306791
RGBrgb(48, 103, 145)
HSLhsl(206, 50%, 38%)
HSVhsv(206, 67%, 57%)
CMYKcmyk(66.9%, 29%, 0%, 43.1%)
CIE-LABlab(41.80, -4.17, -28.40)
CIE-LCHlch(41.80, 28.70, 261.64°)
OKLaboklab(49.61% -0.0389 -0.0801)
OKLCHoklch(49.61% 0.089 244.1)
XYZxyz(11.1781, 12.3721, 28.5815)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306791 #915A30
analogous
#30918A #306791 #303791
triadic
#306791 #913067 #679130
tetradic
#306791 #8A3091 #915A30 #379130
square
#306791 #8A3091 #915A30 #379130
split-complementary
#306791 #913037 #918A30
monochromatic
#122635 #214663 #306791 #3F88BF #6DA4CF

Accessibility & contrast

On white

6.04
#306791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#306791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306791
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306791#FFFFFF#000000##FFFFFF
##3067911.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546893
Deuteranopia (green-blind)
#475E90
Tritanopia (blue-blind)
#007176
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #306791;
/* rgb */ color: rgb(48, 103, 145);
/* oklch */ color: oklch(49.6% 0.089 244.1);
Tailwind
colors: {
  custom: {
    50: '#7392b1',
    500: '#306791',
    950: '#000000',
  },
}
SCSS
$custom: #306791;
$custom-light: #7392b1;
$custom-dark: #000000;
JSON
{
  "hex": "#306791",
  "rgb": {
    "r": 48,
    "g": 103,
    "b": 145
  },
  "hsl": {
    "h": 205.979,
    "s": 50.259,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49606,
    "c": 0.089,
    "h": 244.1
  },
  "luminance": 0.12373
}

Semantic roles & 50–950 ramp

primary
#306791
secondary
#B68967
accent
#8B4EDA
background
#F7F8FA
surface
#EDF0F5
border
#C8CBCF
text
#090C10
muted
#7B7D7F

Preview Lab

Preview with #306791

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

Preview Lab → · Contrast checker → · Palette generator →

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