#3178CE#3178CE

#3178CE is a mid, vivid cyan. Relative luminance 0.185; OKLCH L 57.2% C 0.150 H 255.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#3178CE
RGBrgb(49, 120, 206)
HSLhsl(213, 62%, 50%)
HSVhsv(213, 76%, 81%)
CMYKcmyk(76.2%, 41.7%, 0%, 19.2%)
CIE-LABlab(50.14, 7.86, -50.79)
CIE-LCHlch(50.14, 51.39, 278.80°)
OKLaboklab(57.21% -0.0384 -0.1453)
OKLCHoklch(57.21% 0.15 255.2)
XYZxyz(19.1195, 18.5399, 60.9514)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3178CE #CE8731
analogous
#31C7CE #3178CE #3831CE
triadic
#3178CE #CE3178 #78CE31
tetradic
#3178CE #CE31C7 #CE8731 #31CE38
square
#3178CE #CE31C7 #CE8731 #31CE38
split-complementary
#3178CE #CE3831 #C7CE31
monochromatic
#193E6B #255B9D #3178CE #6298DA #94B9E6

Accessibility & contrast

On white

4.46
#3178CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#3178CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3178CE
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3178CE#FFFFFF#000000##000000
##3178CE1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7FD1
Deuteranopia (green-blind)
#3271CC
Tritanopia (blue-blind)
#008C99
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3178ce;
/* rgb */ color: rgb(49, 120, 206);
/* oklch */ color: oklch(57.2% 0.150 255.2);
Tailwind
colors: {
  custom: {
    50: '#7f9edd',
    500: '#3178ce',
    950: '#000000',
  },
}
SCSS
$custom: #3178ce;
$custom-light: #7f9edd;
$custom-dark: #000000;
JSON
{
  "hex": "#3178ce",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 212.866,
    "s": 61.569,
    "l": 50
  },
  "oklch": {
    "l": 0.5721,
    "c": 0.15026,
    "h": 255.2
  },
  "luminance": 0.18542
}

Semantic roles & 50–950 ramp

primary
#3178CE
secondary
#D1B18A
accent
#9C43E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3178CE

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

Preview Lab → · Contrast checker → · Palette generator →

#3178CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva