#336B9A#336B9A

#336B9A is a mid, moderate cyan. Relative luminance 0.136; OKLCH L 51.2% C 0.095 H 246.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#336B9A
RGBrgb(51, 107, 154)
HSLhsl(207, 50%, 40%)
HSVhsv(207, 67%, 60%)
CMYKcmyk(66.9%, 30.5%, 0%, 39.6%)
CIE-LABlab(43.58, -2.87, -30.97)
CIE-LCHlch(43.58, 31.10, 264.71°)
OKLaboklab(51.19% -0.0381 -0.0874)
OKLCHoklch(51.19% 0.095 246.4)
XYZxyz(12.4535, 13.5510, 32.5249)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336B9A #9A6233
analogous
#339A96 #336B9A #33379A
triadic
#336B9A #9A336B #6B9A33
tetradic
#336B9A #96339A #9A6233 #379A33
square
#336B9A #96339A #9A6233 #379A33
split-complementary
#336B9A #9A3337 #9A9633
monochromatic
#152B3E #244B6C #336B9A #488AC2 #76A8D2

Accessibility & contrast

On white

5.66
#336B9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#336B9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336B9A
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336B9A#FFFFFF#000000##FFFFFF
##336B9A1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566D9C
Deuteranopia (green-blind)
#486399
Tritanopia (blue-blind)
#00767C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #336b9a;
/* rgb */ color: rgb(51, 107, 154);
/* oklch */ color: oklch(51.2% 0.095 246.4);
Tailwind
colors: {
  custom: {
    50: '#7695b8',
    500: '#336b9a',
    950: '#000000',
  },
}
SCSS
$custom: #336b9a;
$custom-light: #7695b8;
$custom-dark: #000000;
JSON
{
  "hex": "#336b9a",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 154
  },
  "hsl": {
    "h": 207.379,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51186,
    "c": 0.09541,
    "h": 246.4
  },
  "luminance": 0.13552
}

Semantic roles & 50–950 ramp

primary
#336B9A
secondary
#BA916F
accent
#8E4EDA
background
#F7F9FB
surface
#EEF1F6
border
#C9CBD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #336B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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