#3371B4#3371B4

#3371B4 is a mid, vivid cyan. Relative luminance 0.158; OKLCH L 54.1% C 0.123 H 252.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#3371B4
RGBrgb(51, 113, 180)
HSLhsl(211, 56%, 45%)
HSVhsv(211, 72%, 71%)
CMYKcmyk(71.7%, 37.2%, 0%, 29.4%)
CIE-LABlab(46.72, 2.85, -41.28)
CIE-LCHlch(46.72, 41.38, 273.95°)
OKLaboklab(54.09% -0.0368 -0.1175)
OKLCHoklch(54.09% 0.123 252.6)
XYZxyz(15.5055, 15.8077, 45.4052)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3371B4 #B47633
analogous
#33B1B4 #3371B4 #3633B4
triadic
#3371B4 #B43371 #71B433
tetradic
#3371B4 #B433B1 #B47633 #33B436
square
#3371B4 #B433B1 #B47633 #33B436
split-complementary
#3371B4 #B43633 #B1B433
monochromatic
#183555 #255384 #3371B4 #5590CF #85AFDC

Accessibility & contrast

On white

5.05
#3371B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#3371B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3371B4
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3371B4#FFFFFF#000000##FFFFFF
##3371B41.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5275B7
Deuteranopia (green-blind)
#3F69B3
Tritanopia (blue-blind)
#00818A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3371b4;
/* rgb */ color: rgb(51, 113, 180);
/* oklch */ color: oklch(54.1% 0.123 252.6);
Tailwind
colors: {
  custom: {
    50: '#7b99cb',
    500: '#3371b4',
    950: '#000000',
  },
}
SCSS
$custom: #3371b4;
$custom-light: #7b99cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3371b4",
  "rgb": {
    "r": 51,
    "g": 113,
    "b": 180
  },
  "hsl": {
    "h": 211.163,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54087,
    "c": 0.12311,
    "h": 252.6
  },
  "luminance": 0.15809
}

Semantic roles & 50–950 ramp

primary
#3371B4
secondary
#C6A37D
accent
#9749DF
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #3371B4

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

Preview Lab → · Contrast checker → · Palette generator →

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