#3187B7#3187B7

#3187B7 is a mid, moderate cyan. Relative luminance 0.214; OKLCH L 59.4% C 0.109 H 237.4°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#3187B7
RGBrgb(49, 135, 183)
HSLhsl(201, 58%, 45%)
HSVhsv(201, 73%, 72%)
CMYKcmyk(73.2%, 26.2%, 0%, 28.2%)
CIE-LABlab(53.38, -9.43, -32.53)
CIE-LCHlch(53.38, 33.87, 253.84°)
OKLaboklab(59.37% -0.0587 -0.0917)
OKLCHoklch(59.37% 0.109 237.4)
XYZxyz(18.4745, 21.3977, 47.9471)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3187B7 #B76131
analogous
#31B7A4 #3187B7 #3144B7
triadic
#3187B7 #B73187 #87B731
tetradic
#3187B7 #A431B7 #B76131 #44B731
square
#3187B7 #A431B7 #B76131 #44B731
split-complementary
#3187B7 #B73144 #B7A431
monochromatic
#174056 #246387 #3187B7 #54A4D1 #84BEDE

Accessibility & contrast

On white

3.98
#3187B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#3187B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3187B7
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3187B7#FFFFFF#000000##000000
##3187B71.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7087B9
Deuteranopia (green-blind)
#5E7AB6
Tritanopia (blue-blind)
#009397
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #3187b7;
/* rgb */ color: rgb(49, 135, 183);
/* oklch */ color: oklch(59.4% 0.109 237.4);
Tailwind
colors: {
  custom: {
    50: '#7ba9cc',
    500: '#3187b7',
    950: '#000000',
  },
}
SCSS
$custom: #3187b7;
$custom-light: #7ba9cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3187b7",
  "rgb": {
    "r": 49,
    "g": 135,
    "b": 183
  },
  "hsl": {
    "h": 201.493,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.59371,
    "c": 0.10891,
    "h": 237.4
  },
  "luminance": 0.214
}

Semantic roles & 50–950 ramp

primary
#3187B7
secondary
#C8977C
accent
#7E47E1
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #3187B7

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

Preview Lab → · Contrast checker → · Palette generator →

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