#336DD2#336DD2

#336DD2 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.2% C 0.168 H 260.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#336DD2
RGBrgb(51, 109, 210)
HSLhsl(218, 64%, 51%)
HSVhsv(218, 76%, 82%)
CMYKcmyk(75.7%, 48.1%, 0%, 17.6%)
CIE-LABlab(47.36, 16.49, -57.54)
CIE-LCHlch(47.36, 59.86, 285.99°)
OKLaboklab(55.15% -0.0273 -0.1653)
OKLCHoklch(55.15% 0.168 260.6)
XYZxyz(18.4625, 16.2921, 63.1319)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336DD2 #D29833
analogous
#33BCD2 #336DD2 #4833D2
triadic
#336DD2 #D2336D #6DD233
tetradic
#336DD2 #D233BC #D29833 #33D248
square
#336DD2 #D233BC #D29833 #33D248
split-complementary
#336DD2 #D24833 #BCD233
monochromatic
#193972 #2453A4 #336DD2 #6591DD #97B5E8

Accessibility & contrast

On white

4.93
#336DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#336DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336DD2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336DD2#FFFFFF#000000##FFFFFF
##336DD21.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3478D6
Deuteranopia (green-blind)
#0069D0
Tritanopia (blue-blind)
#008595
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #336dd2;
/* rgb */ color: rgb(51, 109, 210);
/* oklch */ color: oklch(55.2% 0.168 260.6);
Tailwind
colors: {
  custom: {
    50: '#8196e0',
    500: '#336dd2',
    950: '#000000',
  },
}
SCSS
$custom: #336dd2;
$custom-light: #8196e0;
$custom-dark: #000000;
JSON
{
  "hex": "#336dd2",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 210
  },
  "hsl": {
    "h": 218.113,
    "s": 63.855,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55153,
    "c": 0.16754,
    "h": 260.6
  },
  "luminance": 0.16294
}

Semantic roles & 50–950 ramp

primary
#336DD2
secondary
#D4BA8D
accent
#AA41E7
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #336DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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