#3371B7#3371B7

#3371B7 is a mid, vivid cyan. Relative luminance 0.159; OKLCH L 54.3% C 0.127 H 253.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#3371B7
RGBrgb(51, 113, 183)
HSLhsl(212, 56%, 46%)
HSVhsv(212, 72%, 72%)
CMYKcmyk(72.1%, 38.3%, 0%, 28.2%)
CIE-LABlab(46.88, 3.95, -42.76)
CIE-LCHlch(46.88, 42.95, 275.28°)
OKLaboklab(54.27% -0.0361 -0.1218)
OKLCHoklch(54.27% 0.127 253.5)
XYZxyz(15.8144, 15.9312, 47.0321)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3371B7 #B77933
analogous
#33B3B7 #3371B7 #3733B7
triadic
#3371B7 #B73371 #71B733
tetradic
#3371B7 #B733B3 #B77933 #33B737
square
#3371B7 #B733B3 #B77933 #33B737
split-complementary
#3371B7 #B73733 #B3B733
monochromatic
#183657 #265387 #3371B7 #5790D0 #87B0DE

Accessibility & contrast

On white

5.02
#3371B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#3371B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3371B7
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3371B7#FFFFFF#000000##FFFFFF
##3371B71.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5176BA
Deuteranopia (green-blind)
#3D6AB6
Tritanopia (blue-blind)
#00818B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3371b7;
/* rgb */ color: rgb(51, 113, 183);
/* oklch */ color: oklch(54.3% 0.127 253.5);
Tailwind
colors: {
  custom: {
    50: '#7b99cd',
    500: '#3371b7',
    950: '#000000',
  },
}
SCSS
$custom: #3371b7;
$custom-light: #7b99cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3371b7",
  "rgb": {
    "r": 51,
    "g": 113,
    "b": 183
  },
  "hsl": {
    "h": 211.818,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54268,
    "c": 0.12704,
    "h": 253.5
  },
  "luminance": 0.15933
}

Semantic roles & 50–950 ramp

primary
#3371B7
secondary
#C7A57F
accent
#9848E0
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #3371B7

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

Preview Lab → · Contrast checker → · Palette generator →

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