#336779#336779

#336779 is a mid, moderate cyan. Relative luminance 0.118; OKLCH L 48.6% C 0.062 H 223.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#336779
RGBrgb(51, 103, 121)
HSLhsl(195, 41%, 34%)
HSVhsv(195, 58%, 47%)
CMYKcmyk(57.9%, 14.9%, 0%, 52.5%)
CIE-LABlab(40.87, -11.75, -15.35)
CIE-LCHlch(40.87, 19.33, 232.57°)
OKLaboklab(48.55% -0.0456 -0.0426)
OKLCHoklch(48.55% 0.062 223.1)
XYZxyz(9.6653, 11.7839, 19.8506)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336779 #794533
analogous
#337968 #336779 #334479
triadic
#336779 #793367 #677933
tetradic
#336779 #683379 #794533 #447933
square
#336779 #683379 #794533 #447933
split-complementary
#336779 #793344 #796833
monochromatic
#0F1E23 #21424E #336779 #458CA4 #67A9BF

Accessibility & contrast

On white

6.26
#336779 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#336779 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336779
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336779#FFFFFF#000000##FFFFFF
##3367791.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D657A
Deuteranopia (green-blind)
#525D79
Tritanopia (blue-blind)
#006D6D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #336779;
/* rgb */ color: rgb(51, 103, 121);
/* oklch */ color: oklch(48.6% 0.062 223.1);
Tailwind
colors: {
  custom: {
    50: '#71929f',
    500: '#336779',
    950: '#000000',
  },
}
SCSS
$custom: #336779;
$custom-light: #71929f;
$custom-dark: #000000;
JSON
{
  "hex": "#336779",
  "rgb": {
    "r": 51,
    "g": 103,
    "b": 121
  },
  "hsl": {
    "h": 195.429,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.48553,
    "c": 0.06245,
    "h": 223.1
  },
  "luminance": 0.11785
}

Semantic roles & 50–950 ramp

primary
#336779
secondary
#A77361
accent
#7657D1
background
#F7F8F9
surface
#EDF0F2
border
#C8CBCC
text
#080D0E
muted
#7B7D7E

Preview Lab

Preview with #336779

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

Preview Lab → · Contrast checker → · Palette generator →

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