#3371C8#3371C8

#3371C8 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.3% C 0.150 H 257.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#3371C8
RGBrgb(51, 113, 200)
HSLhsl(215, 59%, 49%)
HSVhsv(215, 75%, 78%)
CMYKcmyk(74.5%, 43.5%, 0%, 21.6%)
CIE-LABlab(47.86, 10.24, -51.02)
CIE-LCHlch(47.86, 52.03, 281.35°)
OKLaboklab(55.34% -0.0323 -0.146)
OKLCHoklch(55.34% 0.15 257.5)
XYZxyz(17.6919, 16.6822, 56.9200)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3371C8 #C88A33
analogous
#33BCC8 #3371C8 #4033C8
triadic
#3371C8 #C83371 #71C833
tetradic
#3371C8 #C833BC #C88A33 #33C840
square
#3371C8 #C833BC #C88A33 #33C840
split-complementary
#3371C8 #C84033 #BCC833
monochromatic
#1A3A66 #275597 #3371C8 #6192D7 #92B4E3

Accessibility & contrast

On white

4.84
#3371C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#3371C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3371C8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3371C8#FFFFFF#000000##FFFFFF
##3371C81.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4679CB
Deuteranopia (green-blind)
#296BC6
Tritanopia (blue-blind)
#008593
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3371c8;
/* rgb */ color: rgb(51, 113, 200);
/* oklch */ color: oklch(55.3% 0.150 257.5);
Tailwind
colors: {
  custom: {
    50: '#7e99d9',
    500: '#3371c8',
    950: '#000000',
  },
}
SCSS
$custom: #3371c8;
$custom-light: #7e99d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3371c8",
  "rgb": {
    "r": 51,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 215.034,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5534,
    "c": 0.14957,
    "h": 257.5
  },
  "luminance": 0.16684
}

Semantic roles & 50–950 ramp

primary
#3371C8
secondary
#CEB189
accent
#A145E3
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #3371C8

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

Preview Lab → · Contrast checker → · Palette generator →

#3371C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva