#3181AA#3181AA

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

Color values

HEX#3181AA
RGBrgb(49, 129, 170)
HSLhsl(200, 55%, 43%)
HSVhsv(200, 71%, 67%)
CMYKcmyk(71.2%, 24.1%, 0%, 33.3%)
CIE-LABlab(50.98, -10.53, -28.79)
CIE-LCHlch(50.98, 30.66, 249.91°)
OKLaboklab(57.27% -0.0572 -0.081)
OKLCHoklch(57.27% 0.099 234.8)
XYZxyz(16.3697, 19.2539, 40.8761)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3181AA #AA5A31
analogous
#31AA97 #3181AA #3144AA
triadic
#3181AA #AA3181 #81AA31
tetradic
#3181AA #9731AA #AA5A31 #44AA31
square
#3181AA #9731AA #AA5A31 #44AA31
split-complementary
#3181AA #AA3144 #AA9731
monochromatic
#16394B #235D7A #3181AA #4DA1CC #7CBAD9

Accessibility & contrast

On white

4.33
#3181AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#3181AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3181AA#FFFFFF#000000##000000
##3181AA1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D80AC
Deuteranopia (green-blind)
#5D74A9
Tritanopia (blue-blind)
#008C8F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3181aa;
/* rgb */ color: rgb(49, 129, 170);
/* oklch */ color: oklch(57.3% 0.099 234.8);
Tailwind
colors: {
  custom: {
    50: '#78a5c3',
    500: '#3181aa',
    950: '#000000',
  },
}
SCSS
$custom: #3181aa;
$custom-light: #78a5c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3181aa",
  "rgb": {
    "r": 49,
    "g": 129,
    "b": 170
  },
  "hsl": {
    "h": 200.331,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.57273,
    "c": 0.09911,
    "h": 234.8
  },
  "luminance": 0.19256
}

Semantic roles & 50–950 ramp

primary
#3181AA
secondary
#C28F75
accent
#7C49DF
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #3181AA

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

Preview Lab → · Contrast checker → · Palette generator →

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