#336DB3#336DB3

#336DB3 is a mid, vivid cyan. Relative luminance 0.149; OKLCH L 53.1% C 0.126 H 254.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#336DB3
RGBrgb(51, 109, 179)
HSLhsl(213, 56%, 45%)
HSVhsv(213, 72%, 70%)
CMYKcmyk(71.5%, 39.1%, 0%, 29.8%)
CIE-LABlab(45.49, 4.97, -42.66)
CIE-LCHlch(45.49, 42.94, 276.64°)
OKLaboklab(53.11% -0.0332 -0.1215)
OKLCHoklch(53.11% 0.126 254.7)
XYZxyz(14.9676, 14.8941, 44.7251)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336DB3 #B37933
analogous
#33ADB3 #336DB3 #3933B3
triadic
#336DB3 #B3336D #6DB333
tetradic
#336DB3 #B333AD #B37933 #33B339
square
#336DB3 #B333AD #B37933 #33B339
split-complementary
#336DB3 #B33933 #ADB333
monochromatic
#183354 #255083 #336DB3 #558CCE #84ACDC

Accessibility & contrast

On white

5.28
#336DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#336DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336DB3
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336DB3#FFFFFF#000000##FFFFFF
##336DB31.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D72B6
Deuteranopia (green-blind)
#3966B2
Tritanopia (blue-blind)
#007D87
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #336db3;
/* rgb */ color: rgb(51, 109, 179);
/* oklch */ color: oklch(53.1% 0.126 254.7);
Tailwind
colors: {
  custom: {
    50: '#7a96ca',
    500: '#336db3',
    950: '#000000',
  },
}
SCSS
$custom: #336db3;
$custom-light: #7a96ca;
$custom-dark: #000000;
JSON
{
  "hex": "#336db3",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 179
  },
  "hsl": {
    "h": 212.813,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53108,
    "c": 0.12601,
    "h": 254.7
  },
  "luminance": 0.14896
}

Semantic roles & 50–950 ramp

primary
#336DB3
secondary
#C6A47C
accent
#9B49DF
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #336DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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