#336DB0#336DB0

#336DB0 is a mid, vivid cyan. Relative luminance 0.148; OKLCH L 52.9% C 0.122 H 253.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#336DB0
RGBrgb(51, 109, 176)
HSLhsl(212, 55%, 45%)
HSVhsv(212, 71%, 69%)
CMYKcmyk(71%, 38.1%, 0%, 31%)
CIE-LABlab(45.32, 3.87, -41.17)
CIE-LCHlch(45.32, 41.35, 275.36°)
OKLaboklab(52.92% -0.034 -0.1172)
OKLCHoklch(52.92% 0.122 253.8)
XYZxyz(14.6675, 14.7741, 43.1446)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336DB0 #B07633
analogous
#33ACB0 #336DB0 #3833B0
triadic
#336DB0 #B0336D #6DB033
tetradic
#336DB0 #B033AC #B07633 #33B038
square
#336DB0 #B033AC #B07633 #33B038
split-complementary
#336DB0 #B03833 #ACB033
monochromatic
#183251 #255081 #336DB0 #538CCD #82ACDB

Accessibility & contrast

On white

5.31
#336DB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#336DB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336DB0
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336DB0#FFFFFF#000000##FFFFFF
##336DB01.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E72B3
Deuteranopia (green-blind)
#3C66AF
Tritanopia (blue-blind)
#007D86
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #336db0;
/* rgb */ color: rgb(51, 109, 176);
/* oklch */ color: oklch(52.9% 0.122 253.8);
Tailwind
colors: {
  custom: {
    50: '#7a96c8',
    500: '#336db0',
    950: '#000000',
  },
}
SCSS
$custom: #336db0;
$custom-light: #7a96c8;
$custom-dark: #000000;
JSON
{
  "hex": "#336db0",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 176
  },
  "hsl": {
    "h": 212.16,
    "s": 55.066,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52924,
    "c": 0.12202,
    "h": 253.8
  },
  "luminance": 0.14776
}

Semantic roles & 50–950 ramp

primary
#336DB0
secondary
#C4A27B
accent
#9949DE
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #336DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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