#3179DB#3179DB

#3179DB is a mid, vivid cyan. Relative luminance 0.194; OKLCH L 58.3% C 0.166 H 257.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#3179DB
RGBrgb(49, 121, 219)
HSLhsl(215, 70%, 53%)
HSVhsv(215, 78%, 86%)
CMYKcmyk(77.6%, 44.7%, 0%, 14.1%)
CIE-LABlab(51.20, 12.08, -56.47)
CIE-LCHlch(51.20, 57.75, 282.07°)
OKLaboklab(58.28% -0.0367 -0.162)
OKLCHoklch(58.28% 0.166 257.2)
XYZxyz(20.8855, 19.4397, 69.6556)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3179DB #DB9331
analogous
#31CEDB #3179DB #3E31DB
triadic
#3179DB #DB3179 #79DB31
tetradic
#3179DB #DB31CE #DB9331 #31DB3E
square
#3179DB #DB31CE #DB9331 #31DB3E
split-complementary
#3179DB #DB3E31 #CEDB31
monochromatic
#16417C #1F5CB0 #3179DB #659BE4 #99BDED

Accessibility & contrast

On white

4.30
#3179DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#3179DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3179DB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3179DB#FFFFFF#000000##000000
##3179DB1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4682DF
Deuteranopia (green-blind)
#2073D9
Tritanopia (blue-blind)
#00909F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3179db;
/* rgb */ color: rgb(49, 121, 219);
/* oklch */ color: oklch(58.3% 0.166 257.2);
Tailwind
colors: {
  custom: {
    50: '#829fe7',
    500: '#3179db',
    950: '#000000',
  },
}
SCSS
$custom: #3179db;
$custom-light: #829fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#3179db",
  "rgb": {
    "r": 49,
    "g": 121,
    "b": 219
  },
  "hsl": {
    "h": 214.588,
    "s": 70.248,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58275,
    "c": 0.16606,
    "h": 257.2
  },
  "luminance": 0.19442
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3179DB

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

Preview Lab → · Contrast checker → · Palette generator →

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