#336CA1#336CA1

#336CA1 is a mid, moderate cyan. Relative luminance 0.140; OKLCH L 51.8% C 0.103 H 249.0°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#336CA1
RGBrgb(51, 108, 161)
HSLhsl(209, 52%, 42%)
HSVhsv(209, 68%, 63%)
CMYKcmyk(68.3%, 32.9%, 0%, 36.9%)
CIE-LABlab(44.23, -0.97, -34.09)
CIE-LCHlch(44.23, 34.10, 268.37°)
OKLaboklab(51.81% -0.0371 -0.0965)
OKLCHoklch(51.81% 0.103 249)
XYZxyz(13.1584, 14.0008, 35.7203)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336CA1 #A16833
analogous
#33A19F #336CA1 #3335A1
triadic
#336CA1 #A1336C #6CA133
tetradic
#336CA1 #9F33A1 #A16833 #35A133
square
#336CA1 #9F33A1 #A16833 #35A133
split-complementary
#336CA1 #A13335 #A19F33
monochromatic
#162E44 #244D73 #336CA1 #4B8BC6 #7AA9D5

Accessibility & contrast

On white

5.53
#336CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#336CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336CA1
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336CA1#FFFFFF#000000##FFFFFF
##336CA11.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556EA3
Deuteranopia (green-blind)
#4564A0
Tritanopia (blue-blind)
#00797F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #336ca1;
/* rgb */ color: rgb(51, 108, 161);
/* oklch */ color: oklch(51.8% 0.103 249.0);
Tailwind
colors: {
  custom: {
    50: '#7795bd',
    500: '#336ca1',
    950: '#000000',
  },
}
SCSS
$custom: #336ca1;
$custom-light: #7795bd;
$custom-dark: #000000;
JSON
{
  "hex": "#336ca1",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 161
  },
  "hsl": {
    "h": 208.909,
    "s": 51.887,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51813,
    "c": 0.10338,
    "h": 249
  },
  "luminance": 0.14002
}

Semantic roles & 50–950 ramp

primary
#336CA1
secondary
#BD9772
accent
#914CDB
background
#F7F9FB
surface
#EEF1F6
border
#C9CBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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