#3187BB#3187BB

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

Color values

HEX#3187BB
RGBrgb(49, 135, 187)
HSLhsl(203, 58%, 46%)
HSVhsv(203, 74%, 73%)
CMYKcmyk(73.8%, 27.8%, 0%, 26.7%)
CIE-LABlab(53.56, -8.02, -34.54)
CIE-LCHlch(53.56, 35.46, 256.92°)
OKLaboklab(59.58% -0.0574 -0.0975)
OKLCHoklch(59.58% 0.113 239.5)
XYZxyz(18.8967, 21.5666, 50.1709)
Luminance0.2157 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3187BB #BB6531
analogous
#31BBAA #3187BB #3142BB
triadic
#3187BB #BB3187 #87BB31
tetradic
#3187BB #AA31BB #BB6531 #42BB31
square
#3187BB #AA31BB #BB6531 #42BB31
split-complementary
#3187BB #BB3142 #BBAA31
monochromatic
#18415A #24648B #3187BB #56A4D3 #87BEE0

Accessibility & contrast

On white

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

On black

5.31
#3187BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3187BB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3187BB#FFFFFF#000000##000000
##3187BB1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3187bb;
/* rgb */ color: rgb(49, 135, 187);
/* oklch */ color: oklch(59.6% 0.113 239.5);
Tailwind
colors: {
  custom: {
    50: '#7ca9cf',
    500: '#3187bb',
    950: '#000000',
  },
}
SCSS
$custom: #3187bb;
$custom-light: #7ca9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3187bb",
  "rgb": {
    "r": 49,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 202.609,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.59575,
    "c": 0.11316,
    "h": 239.5
  },
  "luminance": 0.21569
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3187BB

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

Preview Lab → · Contrast checker → · Palette generator →

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