#3187C2#3187C2

#3187C2 is a mid, vivid cyan. Relative luminance 0.219; OKLCH L 59.9% C 0.121 H 242.9°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#3187C2
RGBrgb(49, 135, 194)
HSLhsl(204, 60%, 48%)
HSVhsv(204, 75%, 76%)
CMYKcmyk(74.7%, 30.4%, 0%, 23.9%)
CIE-LABlab(53.89, -5.54, -38.01)
CIE-LCHlch(53.89, 38.42, 261.71°)
OKLaboklab(59.94% -0.0551 -0.1076)
OKLCHoklch(59.94% 0.121 242.9)
XYZxyz(19.6644, 21.8737, 54.2141)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3187C2 #C26C31
analogous
#31C2B5 #3187C2 #313EC2
triadic
#3187C2 #C23187 #87C231
tetradic
#3187C2 #B531C2 #C26C31 #3EC231
square
#3187C2 #B531C2 #C26C31 #3EC231
split-complementary
#3187C2 #C2313E #C2B531
monochromatic
#184360 #256591 #3187C2 #5BA4D6 #8CBFE2

Accessibility & contrast

On white

3.91
#3187C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#3187C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3187C2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3187C2#FFFFFF#000000##000000
##3187C21.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C88C5
Deuteranopia (green-blind)
#587BC1
Tritanopia (blue-blind)
#00959C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #3187c2;
/* rgb */ color: rgb(49, 135, 194);
/* oklch */ color: oklch(59.9% 0.121 242.9);
Tailwind
colors: {
  custom: {
    50: '#7da9d4',
    500: '#3187c2',
    950: '#000000',
  },
}
SCSS
$custom: #3187c2;
$custom-light: #7da9d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3187c2",
  "rgb": {
    "r": 49,
    "g": 135,
    "b": 194
  },
  "hsl": {
    "h": 204.414,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.59944,
    "c": 0.12095,
    "h": 242.9
  },
  "luminance": 0.21876
}

Semantic roles & 50–950 ramp

primary
#3187C2
secondary
#CCA183
accent
#8545E3
background
#F8FAFD
surface
#EFF4FA
border
#CACED3
text
#0B0F14
muted
#7C7F83

Preview Lab

Preview with #3187C2

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

Preview Lab → · Contrast checker → · Palette generator →

#3187C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva