#3371B8#3371B8

#3371B8 is a mid, vivid cyan. Relative luminance 0.160; OKLCH L 54.3% C 0.128 H 253.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#3371B8
RGBrgb(51, 113, 184)
HSLhsl(212, 57%, 46%)
HSVhsv(212, 72%, 72%)
CMYKcmyk(72.3%, 38.6%, 0%, 27.8%)
CIE-LABlab(46.94, 4.32, -43.26)
CIE-LCHlch(46.94, 43.47, 275.70°)
OKLaboklab(54.33% -0.0358 -0.1232)
OKLCHoklch(54.33% 0.128 253.8)
XYZxyz(15.9189, 15.9730, 47.5822)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3371B8 #B87A33
analogous
#33B3B8 #3371B8 #3733B8
triadic
#3371B8 #B83371 #71B833
tetradic
#3371B8 #B833B3 #B87A33 #33B837
square
#3371B8 #B833B3 #B87A33 #33B837
split-complementary
#3371B8 #B83733 #B3B833
monochromatic
#183658 #265488 #3371B8 #5890D1 #88B0DE

Accessibility & contrast

On white

5.01
#3371B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3371B8
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3371B8#FFFFFF#000000##FFFFFF
##3371B81.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5076BB
Deuteranopia (green-blind)
#3C6AB7
Tritanopia (blue-blind)
#00828B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3371b8;
/* rgb */ color: rgb(51, 113, 184);
/* oklch */ color: oklch(54.3% 0.128 253.8);
Tailwind
colors: {
  custom: {
    50: '#7b99ce',
    500: '#3371b8',
    950: '#000000',
  },
}
SCSS
$custom: #3371b8;
$custom-light: #7b99ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3371b8",
  "rgb": {
    "r": 51,
    "g": 113,
    "b": 184
  },
  "hsl": {
    "h": 212.03,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54329,
    "c": 0.12836,
    "h": 253.8
  },
  "luminance": 0.15975
}

Semantic roles & 50–950 ramp

primary
#3371B8
secondary
#C8A67F
accent
#9948E0
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #3371B8

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

Preview Lab → · Contrast checker → · Palette generator →

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