#3370B2#3370B2

#3370B2 is a mid, vivid cyan. Relative luminance 0.155; OKLCH L 53.7% C 0.122 H 252.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#3370B2
RGBrgb(51, 112, 178)
HSLhsl(211, 55%, 45%)
HSVhsv(211, 71%, 70%)
CMYKcmyk(71.3%, 37.1%, 0%, 30.2%)
CIE-LABlab(46.32, 2.74, -40.76)
CIE-LCHlch(46.32, 40.85, 273.84°)
OKLaboklab(53.74% -0.0364 -0.1159)
OKLCHoklch(53.74% 0.122 252.6)
XYZxyz(15.1923, 15.5049, 44.3029)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3370B2 #B27533
analogous
#33B0B2 #3370B2 #3533B2
triadic
#3370B2 #B23370 #70B233
tetradic
#3370B2 #B233B0 #B27533 #33B235
square
#3370B2 #B233B0 #B27533 #33B235
split-complementary
#3370B2 #B23533 #B0B233
monochromatic
#183453 #255282 #3370B2 #548FCE #84AEDC

Accessibility & contrast

On white

5.12
#3370B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#3370B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3370B2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3370B2#FFFFFF#000000##FFFFFF
##3370B21.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5274B5
Deuteranopia (green-blind)
#3F68B1
Tritanopia (blue-blind)
#007F88
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3370b2;
/* rgb */ color: rgb(51, 112, 178);
/* oklch */ color: oklch(53.7% 0.122 252.6);
Tailwind
colors: {
  custom: {
    50: '#7a98c9',
    500: '#3370b2',
    950: '#000000',
  },
}
SCSS
$custom: #3370b2;
$custom-light: #7a98c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3370b2",
  "rgb": {
    "r": 51,
    "g": 112,
    "b": 178
  },
  "hsl": {
    "h": 211.181,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53737,
    "c": 0.12153,
    "h": 252.6
  },
  "luminance": 0.15507
}

Semantic roles & 50–950 ramp

primary
#3370B2
secondary
#C5A27C
accent
#9749DF
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #3370B2

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

Preview Lab → · Contrast checker → · Palette generator →

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