#336CA4#336CA4

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

Color values

HEX#336CA4
RGBrgb(51, 108, 164)
HSLhsl(210, 53%, 42%)
HSVhsv(210, 69%, 64%)
CMYKcmyk(68.9%, 34.1%, 0%, 35.7%)
CIE-LABlab(44.39, 0.11, -35.61)
CIE-LCHlch(44.39, 35.61, 270.18°)
OKLaboklab(51.98% -0.0362 -0.101)
OKLCHoklch(51.98% 0.107 250.3)
XYZxyz(13.4262, 14.1079, 37.1303)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336CA4 #A46B33
analogous
#33A4A4 #336CA4 #3333A4
triadic
#336CA4 #A4336C #6CA433
tetradic
#336CA4 #A433A4 #A46B33 #33A433
square
#336CA4 #A433A4 #A46B33 #33A433
split-complementary
#336CA4 #A43333 #A4A433
monochromatic
#162F47 #244D75 #336CA4 #4D8BC8 #7BA9D6

Accessibility & contrast

On white

5.49
#336CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #336CA4
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336CA4#FFFFFF#000000##FFFFFF
##336CA41.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536FA6
Deuteranopia (green-blind)
#4364A3
Tritanopia (blue-blind)
#007980
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #336ca4;
/* rgb */ color: rgb(51, 108, 164);
/* oklch */ color: oklch(52.0% 0.107 250.3);
Tailwind
colors: {
  custom: {
    50: '#7895bf',
    500: '#336ca4',
    950: '#000000',
  },
}
SCSS
$custom: #336ca4;
$custom-light: #7895bf;
$custom-dark: #000000;
JSON
{
  "hex": "#336ca4",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 164
  },
  "hsl": {
    "h": 209.735,
    "s": 52.558,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51983,
    "c": 0.10725,
    "h": 250.3
  },
  "luminance": 0.14109
}

Semantic roles & 50–950 ramp

primary
#336CA4
secondary
#BF9974
accent
#934CDC
background
#F7F9FB
surface
#EEF1F7
border
#C9CBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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