#3187AC#3187AC

#3187AC is a mid, moderate cyan. Relative luminance 0.210; OKLCH L 58.8% C 0.098 H 230.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#3187AC
RGBrgb(49, 135, 172)
HSLhsl(198, 56%, 43%)
HSVhsv(198, 72%, 67%)
CMYKcmyk(71.5%, 21.5%, 0%, 32.5%)
CIE-LABlab(52.90, -13.23, -26.96)
CIE-LCHlch(52.90, 30.04, 243.86°)
OKLaboklab(58.83% -0.0626 -0.0757)
OKLCHoklch(58.83% 0.098 230.4)
XYZxyz(17.3740, 20.9575, 42.1513)
Luminance0.2096 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3187AC #AC5631
analogous
#31AC93 #3187AC #3149AC
triadic
#3187AC #AC3187 #87AC31
tetradic
#3187AC #9331AC #AC5631 #49AC31
square
#3187AC #9331AC #AC5631 #49AC31
split-complementary
#3187AC #AC3149 #AC9331
monochromatic
#163C4D #23627C #3187AC #4EA6CC #7DBEDA

Accessibility & contrast

On white

4.04
#3187AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#3187AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3187AC#FFFFFF#000000##000000
##3187AC1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7485AE
Deuteranopia (green-blind)
#6379AB
Tritanopia (blue-blind)
#009193
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3187ac;
/* rgb */ color: rgb(49, 135, 172);
/* oklch */ color: oklch(58.8% 0.098 230.4);
Tailwind
colors: {
  custom: {
    50: '#79aac5',
    500: '#3187ac',
    950: '#000000',
  },
}
SCSS
$custom: #3187ac;
$custom-light: #79aac5;
$custom-dark: #000000;
JSON
{
  "hex": "#3187ac",
  "rgb": {
    "r": 49,
    "g": 135,
    "b": 172
  },
  "hsl": {
    "h": 198.049,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.58832,
    "c": 0.0982,
    "h": 230.4
  },
  "luminance": 0.20959
}

Semantic roles & 50–950 ramp

primary
#3187AC
secondary
#C38D76
accent
#7649DF
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #3187AC

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

Preview Lab → · Contrast checker → · Palette generator →

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