#306797#306797

#306797 is a mid, moderate cyan. Relative luminance 0.126; OKLCH L 49.9% C 0.096 H 247.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#306797
RGBrgb(48, 103, 151)
HSLhsl(208, 52%, 39%)
HSVhsv(208, 68%, 59%)
CMYKcmyk(68.2%, 31.8%, 0%, 40.8%)
CIE-LABlab(42.10, -2.02, -31.52)
CIE-LCHlch(42.10, 31.59, 266.33°)
OKLaboklab(49.94% -0.0369 -0.0891)
OKLCHoklch(49.94% 0.096 247.5)
XYZxyz(11.6530, 12.5620, 31.0827)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306797 #976030
analogous
#309794 #306797 #303497
triadic
#306797 #973067 #679730
tetradic
#306797 #943097 #976030 #349730
square
#306797 #943097 #976030 #349730
split-complementary
#306797 #973034 #979430
monochromatic
#12283A #214769 #306797 #4186C3 #70A4D2

Accessibility & contrast

On white

5.98
#306797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#306797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306797
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306797#FFFFFF#000000##FFFFFF
##3067971.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526999
Deuteranopia (green-blind)
#445F96
Tritanopia (blue-blind)
#007278
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #306797;
/* rgb */ color: rgb(48, 103, 151);
/* oklch */ color: oklch(49.9% 0.096 247.5);
Tailwind
colors: {
  custom: {
    50: '#7492b6',
    500: '#306797',
    950: '#000000',
  },
}
SCSS
$custom: #306797;
$custom-light: #7492b6;
$custom-dark: #000000;
JSON
{
  "hex": "#306797",
  "rgb": {
    "r": 48,
    "g": 103,
    "b": 151
  },
  "hsl": {
    "h": 207.961,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49935,
    "c": 0.09649,
    "h": 247.5
  },
  "luminance": 0.12563
}

Semantic roles & 50–950 ramp

primary
#306797
secondary
#B98F6A
accent
#8F4DDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #306797

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

Preview Lab → · Contrast checker → · Palette generator →

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