#336DD3#336DD3

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

Color values

HEX#336DD3
RGBrgb(51, 109, 211)
HSLhsl(218, 65%, 51%)
HSVhsv(218, 76%, 83%)
CMYKcmyk(75.8%, 48.3%, 0%, 17.3%)
CIE-LABlab(47.42, 16.86, -58.01)
CIE-LCHlch(47.42, 60.41, 286.21°)
OKLaboklab(55.22% -0.0271 -0.1667)
OKLCHoklch(55.22% 0.169 260.8)
XYZxyz(18.5875, 16.3421, 63.7901)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336DD3 #D39933
analogous
#33BDD3 #336DD3 #4933D3
triadic
#336DD3 #D3336D #6DD333
tetradic
#336DD3 #D333BD #D39933 #33D349
square
#336DD3 #D333BD #D39933 #33D349
split-complementary
#336DD3 #D34933 #BDD333
monochromatic
#193973 #2453A5 #336DD3 #6591DE #98B5E9

Accessibility & contrast

On white

4.92
#336DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#336DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336DD3
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336DD3#FFFFFF#000000##FFFFFF
##336DD31.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3378D7
Deuteranopia (green-blind)
#006AD1
Tritanopia (blue-blind)
#008596
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #336dd3;
/* rgb */ color: rgb(51, 109, 211);
/* oklch */ color: oklch(55.2% 0.169 260.8);
Tailwind
colors: {
  custom: {
    50: '#8196e1',
    500: '#336dd3',
    950: '#000000',
  },
}
SCSS
$custom: #336dd3;
$custom-light: #8196e1;
$custom-dark: #000000;
JSON
{
  "hex": "#336dd3",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 211
  },
  "hsl": {
    "h": 218.25,
    "s": 64.516,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55223,
    "c": 0.16886,
    "h": 260.8
  },
  "luminance": 0.16344
}

Semantic roles & 50–950 ramp

primary
#336DD3
secondary
#D4BB8E
accent
#AB40E8
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #336DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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