#3181AB#3181AB

#3181AB is a mid, moderate cyan. Relative luminance 0.193; OKLCH L 57.3% C 0.100 H 235.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#3181AB
RGBrgb(49, 129, 171)
HSLhsl(201, 55%, 43%)
HSVhsv(201, 71%, 67%)
CMYKcmyk(71.3%, 24.6%, 0%, 32.9%)
CIE-LABlab(51.03, -10.18, -29.30)
CIE-LCHlch(51.03, 31.02, 250.83°)
OKLaboklab(57.32% -0.0568 -0.0824)
OKLCHoklch(57.32% 0.1 235.4)
XYZxyz(16.4647, 19.2919, 41.3762)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3181AB #AB5B31
analogous
#31AB98 #3181AB #3144AB
triadic
#3181AB #AB3181 #81AB31
tetradic
#3181AB #9831AB #AB5B31 #44AB31
square
#3181AB #9831AB #AB5B31 #44AB31
split-complementary
#3181AB #AB3144 #AB9831
monochromatic
#16394C #235D7B #3181AB #4DA0CC #7DBADA

Accessibility & contrast

On white

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

On black

4.86
#3181AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3181AB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3181AB#FFFFFF#000000##000000
##3181AB1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D80AD
Deuteranopia (green-blind)
#5C74AA
Tritanopia (blue-blind)
#008C8F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3181ab;
/* rgb */ color: rgb(49, 129, 171);
/* oklch */ color: oklch(57.3% 0.100 235.4);
Tailwind
colors: {
  custom: {
    50: '#79a5c4',
    500: '#3181ab',
    950: '#000000',
  },
}
SCSS
$custom: #3181ab;
$custom-light: #79a5c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3181ab",
  "rgb": {
    "r": 49,
    "g": 129,
    "b": 171
  },
  "hsl": {
    "h": 200.656,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.57323,
    "c": 0.10012,
    "h": 235.4
  },
  "luminance": 0.19294
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3181AB

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

Preview Lab → · Contrast checker → · Palette generator →

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