#3181C5#3181C5

#3181C5 is a mid, vivid cyan. Relative luminance 0.204; OKLCH L 58.7% C 0.130 H 248.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#3181C5
RGBrgb(49, 129, 197)
HSLhsl(208, 60%, 48%)
HSVhsv(208, 75%, 77%)
CMYKcmyk(75.1%, 34.5%, 0%, 22.7%)
CIE-LABlab(52.27, -0.92, -42.29)
CIE-LCHlch(52.27, 42.30, 268.75°)
OKLaboklab(58.71% -0.0486 -0.1202)
OKLCHoklch(58.71% 0.13 248)
XYZxyz(19.1911, 20.3825, 55.7353)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3181C5 #C57531
analogous
#31C5BF #3181C5 #3137C5
triadic
#3181C5 #C53181 #81C531
tetradic
#3181C5 #BF31C5 #C57531 #37C531
square
#3181C5 #BF31C5 #C57531 #37C531
split-complementary
#3181C5 #C53137 #C5BF31
monochromatic
#194163 #256194 #3181C5 #5D9FD7 #8EBCE3

Accessibility & contrast

On white

4.14
#3181C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#3181C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3181C5
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3181C5#FFFFFF#000000##000000
##3181C51.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6284C8
Deuteranopia (green-blind)
#4C76C4
Tritanopia (blue-blind)
#00919A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #3181c5;
/* rgb */ color: rgb(49, 129, 197);
/* oklch */ color: oklch(58.7% 0.130 248.0);
Tailwind
colors: {
  custom: {
    50: '#7da5d7',
    500: '#3181c5',
    950: '#000000',
  },
}
SCSS
$custom: #3181c5;
$custom-light: #7da5d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3181c5",
  "rgb": {
    "r": 49,
    "g": 129,
    "b": 197
  },
  "hsl": {
    "h": 207.568,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5871,
    "c": 0.12966,
    "h": 248
  },
  "luminance": 0.20385
}

Semantic roles & 50–950 ramp

primary
#3181C5
secondary
#CDA685
accent
#8D44E3
background
#F8FAFD
surface
#EFF4FA
border
#CACED3
text
#0B0F14
muted
#7C7F83

Preview Lab

Preview with #3181C5

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

Preview Lab → · Contrast checker → · Palette generator →

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