#336387#336387

#336387 is a mid, moderate cyan. Relative luminance 0.114; OKLCH L 48.2% C 0.078 H 243.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#336387
RGBrgb(51, 99, 135)
HSLhsl(206, 45%, 36%)
HSVhsv(206, 62%, 53%)
CMYKcmyk(62.2%, 26.7%, 0%, 47.1%)
CIE-LABlab(40.21, -4.67, -24.86)
CIE-LCHlch(40.21, 25.30, 259.35°)
OKLaboklab(48.22% -0.0355 -0.0698)
OKLCHoklch(48.22% 0.078 243.1)
XYZxyz(10.1986, 11.3758, 24.5753)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336387 #875733
analogous
#338781 #336387 #333987
triadic
#336387 #873363 #638733
tetradic
#336387 #813387 #875733 #398733
square
#336387 #813387 #875733 #398733
split-complementary
#336387 #873339 #878133
monochromatic
#11222E #22425B #336387 #4484B3 #6DA1C8

Accessibility & contrast

On white

6.41
#336387 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#336387 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336387
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336387#FFFFFF#000000##FFFFFF
##3363871.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536389
Deuteranopia (green-blind)
#485B86
Tritanopia (blue-blind)
#006C6F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #336387;
/* rgb */ color: rgb(51, 99, 135);
/* oklch */ color: oklch(48.2% 0.078 243.1);
Tailwind
colors: {
  custom: {
    50: '#738faa',
    500: '#336387',
    950: '#000000',
  },
}
SCSS
$custom: #336387;
$custom-light: #738faa;
$custom-dark: #000000;
JSON
{
  "hex": "#336387",
  "rgb": {
    "r": 51,
    "g": 99,
    "b": 135
  },
  "hsl": {
    "h": 205.714,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48224,
    "c": 0.07832,
    "h": 243.1
  },
  "luminance": 0.11377
}

Semantic roles & 50–950 ramp

primary
#336387
secondary
#B08666
accent
#8B53D5
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #336387

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

Preview Lab → · Contrast checker → · Palette generator →

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