#336A9F#336A9F

#336A9F is a mid, moderate cyan. Relative luminance 0.135; OKLCH L 51.2% C 0.103 H 249.7°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#336A9F
RGBrgb(51, 106, 159)
HSLhsl(209, 51%, 41%)
HSVhsv(209, 68%, 62%)
CMYKcmyk(67.9%, 33.3%, 0%, 37.6%)
CIE-LABlab(43.53, -0.46, -34.02)
CIE-LCHlch(43.53, 34.02, 269.22°)
OKLaboklab(51.23% -0.0355 -0.0963)
OKLCHoklch(51.23% 0.103 249.7)
XYZxyz(12.7750, 13.5138, 34.7293)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336A9F #9F6833
analogous
#339F9E #336A9F #33349F
triadic
#336A9F #9F336A #6A9F33
tetradic
#336A9F #9E339F #9F6833 #349F33
square
#336A9F #9E339F #9F6833 #349F33
split-complementary
#336A9F #9F3334 #9F9E33
monochromatic
#152C42 #244B71 #336A9F #4A89C5 #79A7D4

Accessibility & contrast

On white

5.67
#336A9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#336A9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336A9F
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336A9F#FFFFFF#000000##FFFFFF
##336A9F1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536DA1
Deuteranopia (green-blind)
#44629E
Tritanopia (blue-blind)
#00767D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #336a9f;
/* rgb */ color: rgb(51, 106, 159);
/* oklch */ color: oklch(51.2% 0.103 249.7);
Tailwind
colors: {
  custom: {
    50: '#7794bb',
    500: '#336a9f',
    950: '#000000',
  },
}
SCSS
$custom: #336a9f;
$custom-light: #7794bb;
$custom-dark: #000000;
JSON
{
  "hex": "#336a9f",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 159
  },
  "hsl": {
    "h": 209.444,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51225,
    "c": 0.10268,
    "h": 249.7
  },
  "luminance": 0.13515
}

Semantic roles & 50–950 ramp

primary
#336A9F
secondary
#BC9671
accent
#934DDB
background
#F7F9FB
surface
#EEF1F6
border
#C9CBD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #336A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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