#3187AA#3187AA

#3187AA is a mid, moderate cyan. Relative luminance 0.209; OKLCH L 58.7% C 0.096 H 229.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#3187AA
RGBrgb(49, 135, 170)
HSLhsl(197, 55%, 43%)
HSVhsv(197, 71%, 67%)
CMYKcmyk(71.2%, 20.6%, 0%, 33.3%)
CIE-LABlab(52.82, -13.91, -25.94)
CIE-LCHlch(52.82, 29.44, 241.80°)
OKLaboklab(58.74% -0.0633 -0.0727)
OKLCHoklch(58.74% 0.096 229)
XYZxyz(17.1834, 20.8813, 41.1473)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3187AA #AA5431
analogous
#31AA90 #3187AA #314BAA
triadic
#3187AA #AA3187 #87AA31
tetradic
#3187AA #9031AA #AA5431 #4BAA31
square
#3187AA #9031AA #AA5431 #4BAA31
split-complementary
#3187AA #AA314B #AA9031
monochromatic
#163C4B #23617A #3187AA #4DA7CC #7CBED9

Accessibility & contrast

On white

4.06
#3187AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#3187AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3187AA#FFFFFF#000000##000000
##3187AA1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7585AC
Deuteranopia (green-blind)
#6479AA
Tritanopia (blue-blind)
#009193
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3187aa;
/* rgb */ color: rgb(49, 135, 170);
/* oklch */ color: oklch(58.7% 0.096 229.0);
Tailwind
colors: {
  custom: {
    50: '#79aac3',
    500: '#3187aa',
    950: '#000000',
  },
}
SCSS
$custom: #3187aa;
$custom-light: #79aac3;
$custom-dark: #000000;
JSON
{
  "hex": "#3187aa",
  "rgb": {
    "r": 49,
    "g": 135,
    "b": 170
  },
  "hsl": {
    "h": 197.355,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.58737,
    "c": 0.09644,
    "h": 229
  },
  "luminance": 0.20883
}

Semantic roles & 50–950 ramp

primary
#3187AA
secondary
#C28B75
accent
#7449DF
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #3187AA

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

Preview Lab → · Contrast checker → · Palette generator →

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