#3370DC#3370DC

#3370DC is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.5% C 0.177 H 260.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#3370DC
RGBrgb(51, 112, 220)
HSLhsl(218, 71%, 53%)
HSVhsv(218, 77%, 86%)
CMYKcmyk(76.8%, 49.1%, 0%, 13.7%)
CIE-LABlab(48.83, 18.31, -60.84)
CIE-LCHlch(48.83, 63.54, 286.75°)
OKLaboklab(56.49% -0.0282 -0.175)
OKLCHoklch(56.49% 0.177 260.8)
XYZxyz(20.0730, 17.4571, 70.0079)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3370DC #DC9F33
analogous
#33C4DC #3370DC #4A33DC
triadic
#3370DC #DC3370 #70DC33
tetradic
#3370DC #DC33C4 #DC9F33 #33DC4A
square
#3370DC #DC33C4 #DC9F33 #33DC4A
split-complementary
#3370DC #DC4A33 #C4DC33
monochromatic
#163C7F #1F54B3 #3370DC #6795E5 #9BB9EE

Accessibility & contrast

On white

4.68
#3370DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#3370DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3370DC
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3370DC#FFFFFF#000000##FFFFFF
##3370DC1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F7CE0
Deuteranopia (green-blind)
#006DDA
Tritanopia (blue-blind)
#008A9B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3370dc;
/* rgb */ color: rgb(51, 112, 220);
/* oklch */ color: oklch(56.5% 0.177 260.8);
Tailwind
colors: {
  custom: {
    50: '#8398e7',
    500: '#3370dc',
    950: '#000000',
  },
}
SCSS
$custom: #3370dc;
$custom-light: #8398e7;
$custom-dark: #000000;
JSON
{
  "hex": "#3370dc",
  "rgb": {
    "r": 51,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 218.343,
    "s": 70.711,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56492,
    "c": 0.17722,
    "h": 260.8
  },
  "luminance": 0.17459
}

Semantic roles & 50–950 ramp

primary
#3370DC
secondary
#DAC091
accent
#AD3AED
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0C0D16
muted
#7D7E84

Preview Lab

Preview with #3370DC

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

Preview Lab → · Contrast checker → · Palette generator →

#3370DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva