#336DA9#336DA9

#336DA9 is a mid, moderate cyan. Relative luminance 0.145; OKLCH L 52.5% C 0.113 H 251.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#336DA9
RGBrgb(51, 109, 169)
HSLhsl(211, 54%, 43%)
HSVhsv(211, 70%, 66%)
CMYKcmyk(69.8%, 35.5%, 0%, 33.7%)
CIE-LABlab(44.95, 1.31, -37.67)
CIE-LCHlch(44.95, 37.69, 271.99°)
OKLaboklab(52.51% -0.0358 -0.1069)
OKLCHoklch(52.51% 0.113 251.5)
XYZxyz(13.9927, 14.5042, 39.5906)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336DA9 #A96F33
analogous
#33A8A9 #336DA9 #3433A9
triadic
#336DA9 #A9336D #6DA933
tetradic
#336DA9 #A933A8 #A96F33 #33A934
square
#336DA9 #A933A8 #A96F33 #33A934
split-complementary
#336DA9 #A93433 #A8A933
monochromatic
#17304B #254F7A #336DA9 #4F8CCA #7EAAD8

Accessibility & contrast

On white

5.38
#336DA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#336DA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336DA9
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336DA9#FFFFFF#000000##FFFFFF
##336DA91.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5270AC
Deuteranopia (green-blind)
#4165A8
Tritanopia (blue-blind)
#007B83
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #336da9;
/* rgb */ color: rgb(51, 109, 169);
/* oklch */ color: oklch(52.5% 0.113 251.5);
Tailwind
colors: {
  custom: {
    50: '#7896c3',
    500: '#336da9',
    950: '#000000',
  },
}
SCSS
$custom: #336da9;
$custom-light: #7896c3;
$custom-dark: #000000;
JSON
{
  "hex": "#336da9",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 169
  },
  "hsl": {
    "h": 210.508,
    "s": 53.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52508,
    "c": 0.11278,
    "h": 251.5
  },
  "luminance": 0.14506
}

Semantic roles & 50–950 ramp

primary
#336DA9
secondary
#C19D77
accent
#954BDD
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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