#3178DB#3178DB

#3178DB is a mid, vivid cyan. Relative luminance 0.192; OKLCH L 58.1% C 0.167 H 257.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#3178DB
RGBrgb(49, 120, 219)
HSLhsl(215, 70%, 53%)
HSVhsv(215, 78%, 86%)
CMYKcmyk(77.6%, 45.2%, 0%, 14.1%)
CIE-LABlab(50.92, 12.70, -56.92)
CIE-LCHlch(50.92, 58.32, 282.58°)
OKLaboklab(58.06% -0.0359 -0.1633)
OKLCHoklch(58.06% 0.167 257.6)
XYZxyz(20.7646, 19.1979, 69.6153)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3178DB #DB9431
analogous
#31CDDB #3178DB #3F31DB
triadic
#3178DB #DB3178 #78DB31
tetradic
#3178DB #DB31CD #DB9431 #31DB3F
square
#3178DB #DB31CD #DB9431 #31DB3F
split-complementary
#3178DB #DB3F31 #CDDB31
monochromatic
#16407C #1F5BB0 #3178DB #659AE4 #99BCED

Accessibility & contrast

On white

4.34
#3178DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#3178DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3178DB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3178DB#FFFFFF#000000##000000
##3178DB1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4482DF
Deuteranopia (green-blind)
#1C72D9
Tritanopia (blue-blind)
#00909F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3178db;
/* rgb */ color: rgb(49, 120, 219);
/* oklch */ color: oklch(58.1% 0.167 257.6);
Tailwind
colors: {
  custom: {
    50: '#829ee7',
    500: '#3178db',
    950: '#000000',
  },
}
SCSS
$custom: #3178db;
$custom-light: #829ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#3178db",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 214.941,
    "s": 70.248,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58059,
    "c": 0.16719,
    "h": 257.6
  },
  "luminance": 0.192
}

Semantic roles & 50–950 ramp

primary
#3178DB
secondary
#D9BA8F
accent
#A33BED
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #3178DB

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

Preview Lab → · Contrast checker → · Palette generator →

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