#336F9C#336F9C

#336F9C is a mid, moderate cyan. Relative luminance 0.145; OKLCH L 52.3% C 0.095 H 243.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#336F9C
RGBrgb(51, 111, 156)
HSLhsl(206, 51%, 41%)
HSVhsv(206, 67%, 61%)
CMYKcmyk(67.3%, 28.8%, 0%, 38.8%)
CIE-LABlab(44.90, -4.57, -30.08)
CIE-LCHlch(44.90, 30.43, 261.35°)
OKLaboklab(52.26% -0.0418 -0.0848)
OKLCHoklch(52.26% 0.095 243.8)
XYZxyz(13.0482, 14.4716, 33.5517)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F9C #9C6033
analogous
#339C94 #336F9C #333A9C
triadic
#336F9C #9C336F #6F9C33
tetradic
#336F9C #94339C #9C6033 #3A9C33
square
#336F9C #94339C #9C6033 #3A9C33
split-complementary
#336F9C #9C333A #9C9433
monochromatic
#152D40 #244E6E #336F9C #498FC3 #77ABD3

Accessibility & contrast

On white

5.39
#336F9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#336F9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F9C
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F9C#FFFFFF#000000##FFFFFF
##336F9C1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B709E
Deuteranopia (green-blind)
#4C669B
Tritanopia (blue-blind)
#007A7F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #336f9c;
/* rgb */ color: rgb(51, 111, 156);
/* oklch */ color: oklch(52.3% 0.095 243.8);
Tailwind
colors: {
  custom: {
    50: '#7698b9',
    500: '#336f9c',
    950: '#000000',
  },
}
SCSS
$custom: #336f9c;
$custom-light: #7698b9;
$custom-dark: #000000;
JSON
{
  "hex": "#336f9c",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 156
  },
  "hsl": {
    "h": 205.714,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52259,
    "c": 0.09458,
    "h": 243.8
  },
  "luminance": 0.14473
}

Semantic roles & 50–950 ramp

primary
#336F9C
secondary
#BB9070
accent
#8A4EDA
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #336F9C

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

Preview Lab → · Contrast checker → · Palette generator →

#336F9C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva