#336394#336394

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

Color values

HEX#336394
RGBrgb(51, 99, 148)
HSLhsl(210, 49%, 39%)
HSVhsv(210, 66%, 58%)
CMYKcmyk(65.5%, 33.1%, 0%, 42%)
CIE-LABlab(40.84, -0.08, -31.70)
CIE-LCHlch(40.84, 31.70, 269.85°)
OKLaboklab(48.93% -0.0313 -0.0897)
OKLCHoklch(48.93% 0.095 250.8)
XYZxyz(11.1704, 11.7645, 29.6933)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336394 #946433
analogous
#339494 #336394 #333394
triadic
#336394 #943363 #639433
tetradic
#336394 #943394 #946433 #339433
square
#336394 #943394 #946433 #339433
split-complementary
#336394 #943333 #949433
monochromatic
#142639 #234566 #336394 #4581BF #73A0CF

Accessibility & contrast

On white

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

On black

3.35
#336394 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##336394#FFFFFF#000000##FFFFFF
##3363941.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6596
Deuteranopia (green-blind)
#405C93
Tritanopia (blue-blind)
#006E75
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #336394;
/* rgb */ color: rgb(51, 99, 148);
/* oklch */ color: oklch(48.9% 0.095 250.8);
Tailwind
colors: {
  custom: {
    50: '#758fb3',
    500: '#336394',
    950: '#000000',
  },
}
SCSS
$custom: #336394;
$custom-light: #758fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#336394",
  "rgb": {
    "r": 51,
    "g": 99,
    "b": 148
  },
  "hsl": {
    "h": 210.309,
    "s": 48.744,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48931,
    "c": 0.09495,
    "h": 250.8
  },
  "luminance": 0.11766
}

Semantic roles & 50–950 ramp

primary
#336394
secondary
#B7926C
accent
#954FD8
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #336394

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

Preview Lab → · Contrast checker → · Palette generator →

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