#3187BC#3187BC

#3187BC is a mid, moderate cyan. Relative luminance 0.216; OKLCH L 59.6% C 0.114 H 240.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#3187BC
RGBrgb(49, 135, 188)
HSLhsl(203, 59%, 46%)
HSVhsv(203, 74%, 74%)
CMYKcmyk(73.9%, 28.2%, 0%, 26.3%)
CIE-LABlab(53.61, -7.67, -35.04)
CIE-LCHlch(53.61, 35.87, 257.65°)
OKLaboklab(59.63% -0.057 -0.099)
OKLCHoklch(59.63% 0.114 240.1)
XYZxyz(19.0041, 21.6096, 50.7367)
Luminance0.2161 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3187BC #BC6631
analogous
#31BCAC #3187BC #3141BC
triadic
#3187BC #BC3187 #87BC31
tetradic
#3187BC #AC31BC #BC6631 #41BC31
square
#3187BC #AC31BC #BC6631 #41BC31
split-complementary
#3187BC #BC3141 #BCAC31
monochromatic
#18415B #24648B #3187BC #57A4D3 #88BEE0

Accessibility & contrast

On white

3.95
#3187BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#3187BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3187BC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3187BC#FFFFFF#000000##000000
##3187BC1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E87BE
Deuteranopia (green-blind)
#5B7ABB
Tritanopia (blue-blind)
#009499
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #3187bc;
/* rgb */ color: rgb(49, 135, 188);
/* oklch */ color: oklch(59.6% 0.114 240.1);
Tailwind
colors: {
  custom: {
    50: '#7ca9d0',
    500: '#3187bc',
    950: '#000000',
  },
}
SCSS
$custom: #3187bc;
$custom-light: #7ca9d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3187bc",
  "rgb": {
    "r": 49,
    "g": 135,
    "b": 188
  },
  "hsl": {
    "h": 202.878,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.59627,
    "c": 0.11424,
    "h": 240.1
  },
  "luminance": 0.21612
}

Semantic roles & 50–950 ramp

primary
#3187BC
secondary
#CA9C7F
accent
#8146E2
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #3187BC

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

Preview Lab → · Contrast checker → · Palette generator →

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