#336AAD#336AAD

#336AAD is a mid, vivid cyan. Relative luminance 0.140; OKLCH L 52.1% C 0.121 H 254.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#336AAD
RGBrgb(51, 106, 173)
HSLhsl(213, 54%, 44%)
HSVhsv(213, 71%, 68%)
CMYKcmyk(70.5%, 38.7%, 0%, 32.2%)
CIE-LABlab(44.27, 4.64, -41.08)
CIE-LCHlch(44.27, 41.34, 276.44°)
OKLaboklab(52.05% -0.0318 -0.117)
OKLCHoklch(52.05% 0.121 254.8)
XYZxyz(14.0593, 14.0275, 41.4937)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336AAD #AD7633
analogous
#33A7AD #336AAD #3933AD
triadic
#336AAD #AD336A #6AAD33
tetradic
#336AAD #AD33A7 #AD7633 #33AD39
square
#336AAD #AD33A7 #AD7633 #33AD39
split-complementary
#336AAD #AD3933 #A7AD33
monochromatic
#17304E #254D7E #336AAD #5189CC #81A9DA

Accessibility & contrast

On white

5.52
#336AAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#336AAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336AAD
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336AAD#FFFFFF#000000##FFFFFF
##336AAD1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6FB0
Deuteranopia (green-blind)
#3963AC
Tritanopia (blue-blind)
#007A83
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #336aad;
/* rgb */ color: rgb(51, 106, 173);
/* oklch */ color: oklch(52.1% 0.121 254.8);
Tailwind
colors: {
  custom: {
    50: '#7994c6',
    500: '#336aad',
    950: '#000000',
  },
}
SCSS
$custom: #336aad;
$custom-light: #7994c6;
$custom-dark: #000000;
JSON
{
  "hex": "#336aad",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 173
  },
  "hsl": {
    "h": 212.951,
    "s": 54.464,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52051,
    "c": 0.12123,
    "h": 254.8
  },
  "luminance": 0.14029
}

Semantic roles & 50–950 ramp

primary
#336AAD
secondary
#C3A279
accent
#9B4ADE
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #336AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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