#3181AC#3181AC

#3181AC is a mid, moderate cyan. Relative luminance 0.193; OKLCH L 57.4% C 0.101 H 236.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#3181AC
RGBrgb(49, 129, 172)
HSLhsl(201, 56%, 43%)
HSVhsv(201, 72%, 67%)
CMYKcmyk(71.5%, 25%, 0%, 32.5%)
CIE-LABlab(51.07, -9.84, -29.81)
CIE-LCHlch(51.07, 31.39, 251.74°)
OKLaboklab(57.37% -0.0565 -0.0839)
OKLCHoklch(57.37% 0.101 236.1)
XYZxyz(16.5603, 19.3302, 41.8801)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3181AC #AC5C31
analogous
#31AC99 #3181AC #3143AC
triadic
#3181AC #AC3181 #81AC31
tetradic
#3181AC #9931AC #AC5C31 #43AC31
square
#3181AC #9931AC #AC5C31 #43AC31
split-complementary
#3181AC #AC3143 #AC9931
monochromatic
#163A4D #235D7C #3181AC #4EA0CC #7DBADA

Accessibility & contrast

On white

4.32
#3181AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#3181AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3181AC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3181AC#FFFFFF#000000##000000
##3181AC1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C80AE
Deuteranopia (green-blind)
#5C74AB
Tritanopia (blue-blind)
#008C90
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3181ac;
/* rgb */ color: rgb(49, 129, 172);
/* oklch */ color: oklch(57.4% 0.101 236.1);
Tailwind
colors: {
  custom: {
    50: '#79a5c5',
    500: '#3181ac',
    950: '#000000',
  },
}
SCSS
$custom: #3181ac;
$custom-light: #79a5c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3181ac",
  "rgb": {
    "r": 49,
    "g": 129,
    "b": 172
  },
  "hsl": {
    "h": 200.976,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.57372,
    "c": 0.10114,
    "h": 236.1
  },
  "luminance": 0.19332
}

Semantic roles & 50–950 ramp

primary
#3181AC
secondary
#C39176
accent
#7D49DF
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #3181AC

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

Preview Lab → · Contrast checker → · Palette generator →

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