#336594#336594

#336594 is a mid, moderate cyan. Relative luminance 0.121; OKLCH L 49.4% C 0.093 H 248.9°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#336594
RGBrgb(51, 101, 148)
HSLhsl(209, 49%, 39%)
HSVhsv(209, 66%, 58%)
CMYKcmyk(65.5%, 31.8%, 0%, 42%)
CIE-LABlab(41.45, -1.32, -30.74)
CIE-LCHlch(41.45, 30.77, 267.53°)
OKLaboklab(49.41% -0.0335 -0.0868)
OKLCHoklch(49.41% 0.093 248.9)
XYZxyz(11.3622, 12.1482, 29.7573)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336594 #946233
analogous
#339493 #336594 #333594
triadic
#336594 #943365 #659433
tetradic
#336594 #933394 #946233 #359433
square
#336594 #933394 #946233 #359433
split-complementary
#336594 #943335 #949333
monochromatic
#142739 #234666 #336594 #4584BF #73A2CF

Accessibility & contrast

On white

6.12
#336594 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#336594 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336594
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336594#FFFFFF#000000##FFFFFF
##3365941.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516796
Deuteranopia (green-blind)
#435E93
Tritanopia (blue-blind)
#007076
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #336594;
/* rgb */ color: rgb(51, 101, 148);
/* oklch */ color: oklch(49.4% 0.093 248.9);
Tailwind
colors: {
  custom: {
    50: '#7590b3',
    500: '#336594',
    950: '#000000',
  },
}
SCSS
$custom: #336594;
$custom-light: #7590b3;
$custom-dark: #000000;
JSON
{
  "hex": "#336594",
  "rgb": {
    "r": 51,
    "g": 101,
    "b": 148
  },
  "hsl": {
    "h": 209.072,
    "s": 48.744,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49411,
    "c": 0.09306,
    "h": 248.9
  },
  "luminance": 0.12149
}

Semantic roles & 50–950 ramp

primary
#336594
secondary
#B7906C
accent
#924FD8
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #336594

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

Preview Lab → · Contrast checker → · Palette generator →

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