#336087#336087

#336087 is a mid, moderate cyan. Relative luminance 0.108; OKLCH L 47.5% C 0.081 H 246.7°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#336087
RGBrgb(51, 96, 135)
HSLhsl(208, 45%, 36%)
HSVhsv(208, 62%, 53%)
CMYKcmyk(62.2%, 28.9%, 0%, 47.1%)
CIE-LABlab(39.27, -2.83, -26.32)
CIE-LCHlch(39.27, 26.47, 263.86°)
OKLaboklab(47.49% -0.032 -0.0741)
OKLCHoklch(47.49% 0.081 246.7)
XYZxyz(9.9197, 10.8179, 24.4823)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336087 #875A33
analogous
#338784 #336087 #333687
triadic
#336087 #873360 #608733
tetradic
#336087 #843387 #875A33 #368733
square
#336087 #843387 #875A33 #368733
split-complementary
#336087 #873336 #878433
monochromatic
#11212E #22405B #336087 #4480B3 #6D9DC8

Accessibility & contrast

On white

6.64
#336087 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#336087 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336087
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336087#FFFFFF#000000##FFFFFF
##3360871.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6189
Deuteranopia (green-blind)
#445986
Tritanopia (blue-blind)
#00696E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #336087;
/* rgb */ color: rgb(51, 96, 135);
/* oklch */ color: oklch(47.5% 0.081 246.7);
Tailwind
colors: {
  custom: {
    50: '#738daa',
    500: '#336087',
    950: '#000000',
  },
}
SCSS
$custom: #336087;
$custom-light: #738daa;
$custom-dark: #000000;
JSON
{
  "hex": "#336087",
  "rgb": {
    "r": 51,
    "g": 96,
    "b": 135
  },
  "hsl": {
    "h": 207.857,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47487,
    "c": 0.08067,
    "h": 246.7
  },
  "luminance": 0.10819
}

Semantic roles & 50–950 ramp

primary
#336087
secondary
#B08866
accent
#8F53D5
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #336087

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

Preview Lab → · Contrast checker → · Palette generator →

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