#336393#336393

#336393 is a mid, moderate cyan. Relative luminance 0.117; OKLCH L 48.9% C 0.094 H 250.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#336393
RGBrgb(51, 99, 147)
HSLhsl(210, 48%, 39%)
HSVhsv(210, 65%, 58%)
CMYKcmyk(65.3%, 32.7%, 0%, 42.4%)
CIE-LABlab(40.79, -0.44, -31.18)
CIE-LCHlch(40.79, 31.18, 269.19°)
OKLaboklab(48.87% -0.0316 -0.0881)
OKLCHoklch(48.87% 0.094 250.3)
XYZxyz(11.0916, 11.7330, 29.2783)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336393 #936333
analogous
#339393 #336393 #333393
triadic
#336393 #933363 #639333
tetradic
#336393 #933393 #936333 #339333
square
#336393 #933393 #936333 #339333
split-complementary
#336393 #933333 #939333
monochromatic
#132638 #234466 #336393 #4582BE #72A0CE

Accessibility & contrast

On white

6.27
#336393 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #336393
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336393#FFFFFF#000000##FFFFFF
##3363931.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6595
Deuteranopia (green-blind)
#415C92
Tritanopia (blue-blind)
#006E74
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #336393;
/* rgb */ color: rgb(51, 99, 147);
/* oklch */ color: oklch(48.9% 0.094 250.3);
Tailwind
colors: {
  custom: {
    50: '#758fb3',
    500: '#336393',
    950: '#000000',
  },
}
SCSS
$custom: #336393;
$custom-light: #758fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#336393",
  "rgb": {
    "r": 51,
    "g": 99,
    "b": 147
  },
  "hsl": {
    "h": 210,
    "s": 48.485,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48874,
    "c": 0.09362,
    "h": 250.3
  },
  "luminance": 0.11734
}

Semantic roles & 50–950 ramp

primary
#336393
secondary
#B6916C
accent
#9450D8
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #336393

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

Preview Lab → · Contrast checker → · Palette generator →

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