#3181A5#3181A5

#3181A5 is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.0% C 0.094 H 231.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#3181A5
RGBrgb(49, 129, 165)
HSLhsl(199, 54%, 42%)
HSVhsv(199, 70%, 65%)
CMYKcmyk(70.3%, 21.8%, 0%, 35.3%)
CIE-LABlab(50.77, -12.26, -26.23)
CIE-LCHlch(50.77, 28.95, 244.96°)
OKLaboklab(57.03% -0.059 -0.0736)
OKLCHoklch(57.03% 0.094 231.3)
XYZxyz(15.9057, 19.0683, 38.4323)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3181A5 #A55531
analogous
#31A58F #3181A5 #3147A5
triadic
#3181A5 #A53181 #81A531
tetradic
#3181A5 #8F31A5 #A55531 #47A531
square
#3181A5 #8F31A5 #A55531 #47A531
split-complementary
#3181A5 #A53147 #A58F31
monochromatic
#153747 #235C76 #3181A5 #4AA2C9 #79BAD7

Accessibility & contrast

On white

4.36
#3181A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#3181A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3181A5
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3181A5#FFFFFF#000000##000000
##3181A51.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7FA7
Deuteranopia (green-blind)
#5F74A4
Tritanopia (blue-blind)
#008B8D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3181a5;
/* rgb */ color: rgb(49, 129, 165);
/* oklch */ color: oklch(57.0% 0.094 231.3);
Tailwind
colors: {
  custom: {
    50: '#78a5bf',
    500: '#3181a5',
    950: '#000000',
  },
}
SCSS
$custom: #3181a5;
$custom-light: #78a5bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3181a5",
  "rgb": {
    "r": 49,
    "g": 129,
    "b": 165
  },
  "hsl": {
    "h": 198.621,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5703,
    "c": 0.09431,
    "h": 231.3
  },
  "luminance": 0.1907
}

Semantic roles & 50–950 ramp

primary
#3181A5
secondary
#C08A72
accent
#784ADE
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #3181A5

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

Preview Lab → · Contrast checker → · Palette generator →

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