#336379#336379

#336379 is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 47.5% C 0.063 H 229.8°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#336379
RGBrgb(51, 99, 121)
HSLhsl(199, 41%, 34%)
HSVhsv(199, 58%, 47%)
CMYKcmyk(57.9%, 18.2%, 0%, 52.5%)
CIE-LABlab(39.59, -9.41, -17.31)
CIE-LCHlch(39.59, 19.70, 241.47°)
OKLaboklab(47.53% -0.0407 -0.0482)
OKLCHoklch(47.53% 0.063 229.8)
XYZxyz(9.2770, 11.0071, 19.7212)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336379 #794933
analogous
#33796C #336379 #334079
triadic
#336379 #793363 #637933
tetradic
#336379 #6C3379 #794933 #407933
square
#336379 #6C3379 #794933 #407933
split-complementary
#336379 #793340 #796C33
monochromatic
#0F1D23 #21404E #336379 #4586A4 #67A3BF

Accessibility & contrast

On white

6.56
#336379 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#336379 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336379
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336379#FFFFFF#000000##FFFFFF
##3363791.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58627A
Deuteranopia (green-blind)
#4E5A79
Tritanopia (blue-blind)
#00696A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #336379;
/* rgb */ color: rgb(51, 99, 121);
/* oklch */ color: oklch(47.5% 0.063 229.8);
Tailwind
colors: {
  custom: {
    50: '#718f9f',
    500: '#336379',
    950: '#000000',
  },
}
SCSS
$custom: #336379;
$custom-light: #718f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#336379",
  "rgb": {
    "r": 51,
    "g": 99,
    "b": 121
  },
  "hsl": {
    "h": 198.857,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.47534,
    "c": 0.06308,
    "h": 229.8
  },
  "luminance": 0.11008
}

Semantic roles & 50–950 ramp

primary
#336379
secondary
#A77761
accent
#7D57D1
background
#F7F8F9
surface
#EDF0F2
border
#C8CBCC
text
#080C0E
muted
#7B7D7E

Preview Lab

Preview with #336379

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

Preview Lab → · Contrast checker → · Palette generator →

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