#336A97#336A97

#336A97 is a mid, moderate cyan. Relative luminance 0.132; OKLCH L 50.8% C 0.093 H 245.7°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#336A97
RGBrgb(51, 106, 151)
HSLhsl(207, 50%, 40%)
HSVhsv(207, 66%, 59%)
CMYKcmyk(66.2%, 29.8%, 0%, 40.8%)
CIE-LABlab(43.13, -3.32, -29.89)
CIE-LCHlch(43.13, 30.08, 263.66°)
OKLaboklab(50.78% -0.038 -0.0843)
OKLCHoklch(50.78% 0.093 245.7)
XYZxyz(12.1031, 13.2450, 31.1909)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336A97 #976033
analogous
#339792 #336A97 #333897
triadic
#336A97 #97336A #6A9733
tetradic
#336A97 #923397 #976033 #389733
square
#336A97 #923397 #976033 #389733
split-complementary
#336A97 #973338 #979233
monochromatic
#142A3C #244A69 #336A97 #478AC1 #74A7D0

Accessibility & contrast

On white

5.75
#336A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#336A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336A97
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336A97#FFFFFF#000000##FFFFFF
##336A971.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566B99
Deuteranopia (green-blind)
#486296
Tritanopia (blue-blind)
#00757A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #336a97;
/* rgb */ color: rgb(51, 106, 151);
/* oklch */ color: oklch(50.8% 0.093 245.7);
Tailwind
colors: {
  custom: {
    50: '#7594b6',
    500: '#336a97',
    950: '#000000',
  },
}
SCSS
$custom: #336a97;
$custom-light: #7594b6;
$custom-dark: #000000;
JSON
{
  "hex": "#336a97",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 151
  },
  "hsl": {
    "h": 207,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50782,
    "c": 0.09251,
    "h": 245.7
  },
  "luminance": 0.13246
}

Semantic roles & 50–950 ramp

primary
#336A97
secondary
#B88F6D
accent
#8D4FD9
background
#F7F9FB
surface
#EDF1F6
border
#C8CBD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #336A97

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

Preview Lab → · Contrast checker → · Palette generator →

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