#3371BA#3371BA

#3371BA is a mid, vivid cyan. Relative luminance 0.161; OKLCH L 54.5% C 0.131 H 254.3°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#3371BA
RGBrgb(51, 113, 186)
HSLhsl(212, 57%, 46%)
HSVhsv(212, 73%, 73%)
CMYKcmyk(72.6%, 39.2%, 0%, 27.1%)
CIE-LABlab(47.05, 5.06, -44.24)
CIE-LCHlch(47.05, 44.53, 276.52°)
OKLaboklab(54.45% -0.0354 -0.1261)
OKLCHoklch(54.45% 0.131 254.3)
XYZxyz(16.1300, 16.0575, 48.6942)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3371BA #BA7C33
analogous
#33B5BA #3371BA #3833BA
triadic
#3371BA #BA3371 #71BA33
tetradic
#3371BA #BA33B5 #BA7C33 #33BA38
square
#3371BA #BA33B5 #BA7C33 #33BA38
split-complementary
#3371BA #BA3833 #B5BA33
monochromatic
#19375A #26548A #3371BA #5990D1 #89B0DF

Accessibility & contrast

On white

4.99
#3371BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#3371BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3371BA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3371BA#FFFFFF#000000##FFFFFF
##3371BA1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F76BD
Deuteranopia (green-blind)
#3A6AB9
Tritanopia (blue-blind)
#00828C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3371ba;
/* rgb */ color: rgb(51, 113, 186);
/* oklch */ color: oklch(54.5% 0.131 254.3);
Tailwind
colors: {
  custom: {
    50: '#7c99cf',
    500: '#3371ba',
    950: '#000000',
  },
}
SCSS
$custom: #3371ba;
$custom-light: #7c99cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3371ba",
  "rgb": {
    "r": 51,
    "g": 113,
    "b": 186
  },
  "hsl": {
    "h": 212.444,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54451,
    "c": 0.13099,
    "h": 254.3
  },
  "luminance": 0.16059
}

Semantic roles & 50–950 ramp

primary
#3371BA
secondary
#C9A780
accent
#9A48E0
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3371BA

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

Preview Lab → · Contrast checker → · Palette generator →

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