#3187AF#3187AF

#3187AF is a mid, moderate cyan. Relative luminance 0.211; OKLCH L 59.0% C 0.101 H 232.5°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#3187AF
RGBrgb(49, 135, 175)
HSLhsl(199, 56%, 44%)
HSVhsv(199, 72%, 69%)
CMYKcmyk(72%, 22.9%, 0%, 31.4%)
CIE-LABlab(53.03, -12.20, -28.49)
CIE-LCHlch(53.03, 31.00, 246.81°)
OKLaboklab(58.98% -0.0615 -0.0801)
OKLCHoklch(58.98% 0.101 232.5)
XYZxyz(17.6654, 21.0741, 43.6858)
Luminance0.2108 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3187AF #AF5931
analogous
#31AF98 #3187AF #3148AF
triadic
#3187AF #AF3187 #87AF31
tetradic
#3187AF #9831AF #AF5931 #48AF31
square
#3187AF #9831AF #AF5931 #48AF31
split-complementary
#3187AF #AF3148 #AF9831
monochromatic
#163D4F #24627F #3187AF #4FA6CE #7FBEDB

Accessibility & contrast

On white

4.03
#3187AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#3187AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3187AF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3187AF#FFFFFF#000000##000000
##3187AF1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7386B1
Deuteranopia (green-blind)
#6279AE
Tritanopia (blue-blind)
#009294
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #3187af;
/* rgb */ color: rgb(49, 135, 175);
/* oklch */ color: oklch(59.0% 0.101 232.5);
Tailwind
colors: {
  custom: {
    50: '#7aaac7',
    500: '#3187af',
    950: '#000000',
  },
}
SCSS
$custom: #3187af;
$custom-light: #7aaac7;
$custom-dark: #000000;
JSON
{
  "hex": "#3187af",
  "rgb": {
    "r": 49,
    "g": 135,
    "b": 175
  },
  "hsl": {
    "h": 199.048,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.58975,
    "c": 0.10096,
    "h": 232.5
  },
  "luminance": 0.21076
}

Semantic roles & 50–950 ramp

primary
#3187AF
secondary
#C49078
accent
#7848E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #3187AF

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

Preview Lab → · Contrast checker → · Palette generator →

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