#3371B2#3371B2

#3371B2 is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 54.0% C 0.120 H 251.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#3371B2
RGBrgb(51, 113, 178)
HSLhsl(211, 55%, 45%)
HSVhsv(211, 71%, 70%)
CMYKcmyk(71.3%, 36.5%, 0%, 30.2%)
CIE-LABlab(46.61, 2.12, -40.29)
CIE-LCHlch(46.61, 40.34, 273.02°)
OKLaboklab(53.97% -0.0374 -0.1146)
OKLCHoklch(53.97% 0.121 251.9)
XYZxyz(15.3033, 15.7268, 44.3399)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3371B2 #B27433
analogous
#33B0B2 #3371B2 #3533B2
triadic
#3371B2 #B23371 #71B233
tetradic
#3371B2 #B233B0 #B27433 #33B235
square
#3371B2 #B233B0 #B27433 #33B235
split-complementary
#3371B2 #B23533 #B0B233
monochromatic
#183553 #255382 #3371B2 #5490CE #84AFDC

Accessibility & contrast

On white

5.07
#3371B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#3371B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3371B2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3371B2#FFFFFF#000000##FFFFFF
##3371B21.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5475B5
Deuteranopia (green-blind)
#4169B1
Tritanopia (blue-blind)
#008089
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3371b2;
/* rgb */ color: rgb(51, 113, 178);
/* oklch */ color: oklch(54.0% 0.120 251.9);
Tailwind
colors: {
  custom: {
    50: '#7a99c9',
    500: '#3371b2',
    950: '#000000',
  },
}
SCSS
$custom: #3371b2;
$custom-light: #7a99c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3371b2",
  "rgb": {
    "r": 51,
    "g": 113,
    "b": 178
  },
  "hsl": {
    "h": 210.709,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53969,
    "c": 0.1205,
    "h": 251.9
  },
  "luminance": 0.15728
}

Semantic roles & 50–950 ramp

primary
#3371B2
secondary
#C5A17C
accent
#9649DF
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #3371B2

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

Preview Lab → · Contrast checker → · Palette generator →

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