#336BA9#336BA9

#336BA9 is a mid, moderate cyan. Relative luminance 0.141; OKLCH L 52.0% C 0.115 H 252.9°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#336BA9
RGBrgb(51, 107, 169)
HSLhsl(212, 54%, 43%)
HSVhsv(212, 70%, 66%)
CMYKcmyk(69.8%, 36.7%, 0%, 33.7%)
CIE-LABlab(44.35, 2.55, -38.61)
CIE-LCHlch(44.35, 38.70, 273.77°)
OKLaboklab(52.04% -0.0338 -0.1097)
OKLCHoklch(52.04% 0.115 252.9)
XYZxyz(13.7817, 14.0823, 39.5203)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336BA9 #A97133
analogous
#33A6A9 #336BA9 #3633A9
triadic
#336BA9 #A9336B #6BA933
tetradic
#336BA9 #A933A6 #A97133 #33A936
square
#336BA9 #A933A6 #A97133 #33A936
split-complementary
#336BA9 #A93633 #A6A933
monochromatic
#172F4B #254D7A #336BA9 #4F89CA #7EA9D8

Accessibility & contrast

On white

5.50
#336BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#336BA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336BA9
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336BA9#FFFFFF#000000##FFFFFF
##336BA91.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6FAC
Deuteranopia (green-blind)
#3E64A8
Tritanopia (blue-blind)
#007982
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #336ba9;
/* rgb */ color: rgb(51, 107, 169);
/* oklch */ color: oklch(52.0% 0.115 252.9);
Tailwind
colors: {
  custom: {
    50: '#7895c3',
    500: '#336ba9',
    950: '#000000',
  },
}
SCSS
$custom: #336ba9;
$custom-light: #7895c3;
$custom-dark: #000000;
JSON
{
  "hex": "#336ba9",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 169
  },
  "hsl": {
    "h": 211.525,
    "s": 53.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52041,
    "c": 0.11482,
    "h": 252.9
  },
  "luminance": 0.14084
}

Semantic roles & 50–950 ramp

primary
#336BA9
secondary
#C19E77
accent
#984BDD
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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