#336CBB#336CBB

#336CBB is a mid, vivid cyan. Relative luminance 0.150; OKLCH L 53.4% C 0.138 H 257.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#336CBB
RGBrgb(51, 108, 187)
HSLhsl(215, 57%, 47%)
HSVhsv(215, 73%, 73%)
CMYKcmyk(72.7%, 42.2%, 0%, 26.7%)
CIE-LABlab(45.65, 8.55, -47.04)
CIE-LCHlch(45.65, 47.81, 280.31°)
OKLaboklab(53.39% -0.0305 -0.1344)
OKLCHoklch(53.39% 0.138 257.2)
XYZxyz(15.6942, 15.0151, 49.0752)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336CBB #BB8233
analogous
#33B0BB #336CBB #3E33BB
triadic
#336CBB #BB336C #6CBB33
tetradic
#336CBB #BB33B0 #BB8233 #33BB3E
square
#336CBB #BB33B0 #BB8233 #33BB3E
split-complementary
#336CBB #BB3E33 #B0BB33
monochromatic
#19345B #26508B #336CBB #598CD2 #89ADDF

Accessibility & contrast

On white

5.25
#336CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#336CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336CBB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336CBB#FFFFFF#000000##FFFFFF
##336CBB1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4673BE
Deuteranopia (green-blind)
#2F66B9
Tritanopia (blue-blind)
#007E8A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #336cbb;
/* rgb */ color: rgb(51, 108, 187);
/* oklch */ color: oklch(53.4% 0.138 257.2);
Tailwind
colors: {
  custom: {
    50: '#7c95d0',
    500: '#336cbb',
    950: '#000000',
  },
}
SCSS
$custom: #336cbb;
$custom-light: #7c95d0;
$custom-dark: #000000;
JSON
{
  "hex": "#336cbb",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 187
  },
  "hsl": {
    "h": 214.853,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53385,
    "c": 0.13786,
    "h": 257.2
  },
  "luminance": 0.15017
}

Semantic roles & 50–950 ramp

primary
#336CBB
secondary
#C9AB81
accent
#A047E0
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #336CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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