#336FA3#336FA3

#336FA3 is a mid, moderate cyan. Relative luminance 0.147; OKLCH L 52.6% C 0.103 H 247.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#336FA3
RGBrgb(51, 111, 163)
HSLhsl(208, 52%, 42%)
HSVhsv(208, 69%, 64%)
CMYKcmyk(68.7%, 31.9%, 0%, 36.1%)
CIE-LABlab(45.24, -2.08, -33.68)
CIE-LCHlch(45.24, 33.74, 266.46°)
OKLaboklab(52.64% -0.0396 -0.0953)
OKLCHoklch(52.64% 0.103 247.4)
XYZxyz(13.6581, 14.7156, 36.7638)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336FA3 #A36733
analogous
#33A39F #336FA3 #3337A3
triadic
#336FA3 #A3336F #6FA333
tetradic
#336FA3 #9F33A3 #A36733 #37A333
square
#336FA3 #9F33A3 #A36733 #37A333
split-complementary
#336FA3 #A33337 #A39F33
monochromatic
#163046 #244F74 #336FA3 #4C8EC7 #7BABD6

Accessibility & contrast

On white

5.33
#336FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#336FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336FA3
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336FA3#FFFFFF#000000##FFFFFF
##336FA31.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5871A5
Deuteranopia (green-blind)
#4866A2
Tritanopia (blue-blind)
#007B81
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #336fa3;
/* rgb */ color: rgb(51, 111, 163);
/* oklch */ color: oklch(52.6% 0.103 247.4);
Tailwind
colors: {
  custom: {
    50: '#7798be',
    500: '#336fa3',
    950: '#000000',
  },
}
SCSS
$custom: #336fa3;
$custom-light: #7798be;
$custom-dark: #000000;
JSON
{
  "hex": "#336fa3",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 163
  },
  "hsl": {
    "h": 207.857,
    "s": 52.336,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52639,
    "c": 0.10319,
    "h": 247.4
  },
  "luminance": 0.14717
}

Semantic roles & 50–950 ramp

primary
#336FA3
secondary
#BE9673
accent
#8F4CDC
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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