#336F97#336F97

#336F97 is a mid, moderate cyan. Relative luminance 0.143; OKLCH L 52.0% C 0.089 H 240.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#336F97
RGBrgb(51, 111, 151)
HSLhsl(204, 50%, 40%)
HSVhsv(204, 66%, 59%)
CMYKcmyk(66.2%, 26.5%, 0%, 40.8%)
CIE-LABlab(44.67, -6.33, -27.49)
CIE-LCHlch(44.67, 28.21, 257.03°)
OKLaboklab(52% -0.0435 -0.0773)
OKLCHoklch(52% 0.089 240.6)
XYZxyz(12.6335, 14.3058, 31.3676)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F97 #975B33
analogous
#33978D #336F97 #333D97
triadic
#336F97 #97336F #6F9733
tetradic
#336F97 #8D3397 #975B33 #3D9733
square
#336F97 #8D3397 #975B33 #3D9733
split-complementary
#336F97 #97333D #978D33
monochromatic
#142C3C #244D69 #336F97 #4790C1 #74ABD0

Accessibility & contrast

On white

5.44
#336F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#336F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F97
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F97#FFFFFF#000000##FFFFFF
##336F971.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6F99
Deuteranopia (green-blind)
#4F6596
Tritanopia (blue-blind)
#00797D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #336f97;
/* rgb */ color: rgb(51, 111, 151);
/* oklch */ color: oklch(52.0% 0.089 240.6);
Tailwind
colors: {
  custom: {
    50: '#7698b5',
    500: '#336f97',
    950: '#000000',
  },
}
SCSS
$custom: #336f97;
$custom-light: #7698b5;
$custom-dark: #000000;
JSON
{
  "hex": "#336f97",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 151
  },
  "hsl": {
    "h": 204,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51997,
    "c": 0.08872,
    "h": 240.6
  },
  "luminance": 0.14307
}

Semantic roles & 50–950 ramp

primary
#336F97
secondary
#B88B6D
accent
#864FD9
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #336F97

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

Preview Lab → · Contrast checker → · Palette generator →

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