#336F8B#336F8B

#336F8B is a mid, moderate cyan. Relative luminance 0.139; OKLCH L 51.4% C 0.076 H 231.0°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#336F8B
RGBrgb(51, 111, 139)
HSLhsl(199, 46%, 37%)
HSVhsv(199, 63%, 55%)
CMYKcmyk(63.3%, 20.1%, 0%, 45.5%)
CIE-LABlab(44.14, -10.44, -21.17)
CIE-LCHlch(44.14, 23.61, 243.74°)
OKLaboklab(51.4% -0.0479 -0.0592)
OKLCHoklch(51.4% 0.076 231)
XYZxyz(11.7081, 13.9356, 26.4939)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F8B #8B4F33
analogous
#338B7B #336F8B #33438B
triadic
#336F8B #8B336F #6F8B33
tetradic
#336F8B #7B338B #8B4F33 #438B33
square
#336F8B #7B338B #8B4F33 #438B33
split-complementary
#336F8B #8B3343 #8B7B33
monochromatic
#122731 #234B5E #336F8B #4393B8 #6EADCA

Accessibility & contrast

On white

5.54
#336F8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#336F8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F8B
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F8B#FFFFFF#000000##FFFFFF
##336F8B1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616D8C
Deuteranopia (green-blind)
#55648B
Tritanopia (blue-blind)
#007778
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #336f8b;
/* rgb */ color: rgb(51, 111, 139);
/* oklch */ color: oklch(51.4% 0.076 231.0);
Tailwind
colors: {
  custom: {
    50: '#7498ad',
    500: '#336f8b',
    950: '#000000',
  },
}
SCSS
$custom: #336f8b;
$custom-light: #7498ad;
$custom-dark: #000000;
JSON
{
  "hex": "#336f8b",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 139
  },
  "hsl": {
    "h": 199.091,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.51404,
    "c": 0.07611,
    "h": 231
  },
  "luminance": 0.13937
}

Semantic roles & 50–950 ramp

primary
#336F8B
secondary
#B27F68
accent
#7C52D6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #336F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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