#3181A4#3181A4

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

Color values

HEX#3181A4
RGBrgb(49, 129, 164)
HSLhsl(198, 54%, 42%)
HSVhsv(198, 70%, 64%)
CMYKcmyk(70.1%, 21.3%, 0%, 35.7%)
CIE-LABlab(50.72, -12.60, -25.71)
CIE-LCHlch(50.72, 28.63, 243.90°)
OKLaboklab(56.98% -0.0593 -0.0721)
OKLCHoklch(56.98% 0.093 230.5)
XYZxyz(15.8150, 19.0321, 37.9548)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3181A4 #A45431
analogous
#31A48E #3181A4 #3148A4
triadic
#3181A4 #A43181 #81A431
tetradic
#3181A4 #8E31A4 #A45431 #48A431
square
#3181A4 #8E31A4 #A45431 #48A431
split-complementary
#3181A4 #A43148 #A48E31
monochromatic
#153746 #235C75 #3181A4 #49A2C9 #79BAD7

Accessibility & contrast

On white

4.37
#3181A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##3181A4#FFFFFF#000000##000000
##3181A41.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3181a4;
/* rgb */ color: rgb(49, 129, 164);
/* oklch */ color: oklch(57.0% 0.093 230.5);
Tailwind
colors: {
  custom: {
    50: '#78a5bf',
    500: '#3181a4',
    950: '#000000',
  },
}
SCSS
$custom: #3181a4;
$custom-light: #78a5bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3181a4",
  "rgb": {
    "r": 49,
    "g": 129,
    "b": 164
  },
  "hsl": {
    "h": 198.261,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.56982,
    "c": 0.09339,
    "h": 230.5
  },
  "luminance": 0.19034
}

Semantic roles & 50–950 ramp

primary
#3181A4
secondary
#BF8972
accent
#774ADD
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #3181A4

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

Preview Lab → · Contrast checker → · Palette generator →

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