#336BAD#336BAD

#336BAD is a mid, vivid cyan. Relative luminance 0.142; OKLCH L 52.3% C 0.120 H 254.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#336BAD
RGBrgb(51, 107, 173)
HSLhsl(212, 54%, 44%)
HSVhsv(212, 71%, 68%)
CMYKcmyk(70.5%, 38.2%, 0%, 32.2%)
CIE-LABlab(44.57, 4.01, -40.61)
CIE-LCHlch(44.57, 40.81, 275.64°)
OKLaboklab(52.28% -0.0328 -0.1156)
OKLCHoklch(52.28% 0.12 254.2)
XYZxyz(14.1630, 14.2348, 41.5282)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336BAD #AD7533
analogous
#33A8AD #336BAD #3833AD
triadic
#336BAD #AD336B #6BAD33
tetradic
#336BAD #AD33A8 #AD7533 #33AD38
square
#336BAD #AD33A8 #AD7533 #33AD38
split-complementary
#336BAD #AD3833 #A8AD33
monochromatic
#17314E #254E7E #336BAD #518ACC #81AADA

Accessibility & contrast

On white

5.46
#336BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#336BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336BAD
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336BAD#FFFFFF#000000##FFFFFF
##336BAD1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D70B0
Deuteranopia (green-blind)
#3B64AC
Tritanopia (blue-blind)
#007A83
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #336bad;
/* rgb */ color: rgb(51, 107, 173);
/* oklch */ color: oklch(52.3% 0.120 254.2);
Tailwind
colors: {
  custom: {
    50: '#7994c6',
    500: '#336bad',
    950: '#000000',
  },
}
SCSS
$custom: #336bad;
$custom-light: #7994c6;
$custom-dark: #000000;
JSON
{
  "hex": "#336bad",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 173
  },
  "hsl": {
    "h": 212.459,
    "s": 54.464,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52281,
    "c": 0.12015,
    "h": 254.2
  },
  "luminance": 0.14236
}

Semantic roles & 50–950 ramp

primary
#336BAD
secondary
#C3A179
accent
#9A4ADE
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #336BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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