#336DAF#336DAF

#336DAF is a mid, vivid cyan. Relative luminance 0.147; OKLCH L 52.9% C 0.121 H 253.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#336DAF
RGBrgb(51, 109, 175)
HSLhsl(212, 55%, 44%)
HSVhsv(212, 71%, 69%)
CMYKcmyk(70.9%, 37.7%, 0%, 31.4%)
CIE-LABlab(45.27, 3.50, -40.67)
CIE-LCHlch(45.27, 40.82, 274.92°)
OKLaboklab(52.86% -0.0342 -0.1157)
OKLCHoklch(52.86% 0.121 253.5)
XYZxyz(14.5689, 14.7347, 42.6254)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336DAF #AF7533
analogous
#33ABAF #336DAF #3733AF
triadic
#336DAF #AF336D #6DAF33
tetradic
#336DAF #AF33AB #AF7533 #33AF37
square
#336DAF #AF33AB #AF7533 #33AF37
split-complementary
#336DAF #AF3733 #ABAF33
monochromatic
#173250 #254F80 #336DAF #528CCD #82ABDB

Accessibility & contrast

On white

5.32
#336DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#336DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336DAF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336DAF#FFFFFF#000000##FFFFFF
##336DAF1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F71B2
Deuteranopia (green-blind)
#3D66AE
Tritanopia (blue-blind)
#007C85
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #336daf;
/* rgb */ color: rgb(51, 109, 175);
/* oklch */ color: oklch(52.9% 0.121 253.5);
Tailwind
colors: {
  custom: {
    50: '#7a96c7',
    500: '#336daf',
    950: '#000000',
  },
}
SCSS
$custom: #336daf;
$custom-light: #7a96c7;
$custom-dark: #000000;
JSON
{
  "hex": "#336daf",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 175
  },
  "hsl": {
    "h": 211.935,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52864,
    "c": 0.12069,
    "h": 253.5
  },
  "luminance": 0.14736
}

Semantic roles & 50–950 ramp

primary
#336DAF
secondary
#C4A17A
accent
#994ADE
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #336DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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