#336CA8#336CA8

#336CA8 is a mid, moderate cyan. Relative luminance 0.143; OKLCH L 52.2% C 0.112 H 251.8°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#336CA8
RGBrgb(51, 108, 168)
HSLhsl(211, 53%, 43%)
HSVhsv(211, 70%, 66%)
CMYKcmyk(69.6%, 35.7%, 0%, 34.1%)
CIE-LABlab(44.60, 1.56, -37.64)
CIE-LCHlch(44.60, 37.67, 272.38°)
OKLaboklab(52.22% -0.0351 -0.1069)
OKLCHoklch(52.22% 0.112 251.8)
XYZxyz(13.7931, 14.2546, 39.0627)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336CA8 #A86F33
analogous
#33A7A8 #336CA8 #3433A8
triadic
#336CA8 #A8336C #6CA833
tetradic
#336CA8 #A833A7 #A86F33 #33A834
square
#336CA8 #A833A7 #A86F33 #33A834
split-complementary
#336CA8 #A83433 #A7A833
monochromatic
#16304A #254E79 #336CA8 #4F8BC9 #7EAAD8

Accessibility & contrast

On white

5.45
#336CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #336CA8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336CA8#FFFFFF#000000##FFFFFF
##336CA81.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5170AA
Deuteranopia (green-blind)
#4064A7
Tritanopia (blue-blind)
#007A82
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #336ca8;
/* rgb */ color: rgb(51, 108, 168);
/* oklch */ color: oklch(52.2% 0.112 251.8);
Tailwind
colors: {
  custom: {
    50: '#7895c2',
    500: '#336ca8',
    950: '#000000',
  },
}
SCSS
$custom: #336ca8;
$custom-light: #7895c2;
$custom-dark: #000000;
JSON
{
  "hex": "#336ca8",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 168
  },
  "hsl": {
    "h": 210.769,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52215,
    "c": 0.11248,
    "h": 251.8
  },
  "luminance": 0.14256
}

Semantic roles & 50–950 ramp

primary
#336CA8
secondary
#C19C76
accent
#964BDD
background
#F7F9FB
surface
#EEF1F7
border
#C9CBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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