#3181A2#3181A2

#3181A2 is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 56.9% C 0.092 H 229.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#3181A2
RGBrgb(49, 129, 162)
HSLhsl(198, 54%, 41%)
HSVhsv(198, 70%, 64%)
CMYKcmyk(69.8%, 20.4%, 0%, 36.5%)
CIE-LABlab(50.64, -13.28, -24.68)
CIE-LCHlch(50.64, 28.03, 241.72°)
OKLaboklab(56.89% -0.0601 -0.0691)
OKLCHoklch(56.89% 0.092 229)
XYZxyz(15.6359, 18.9604, 37.0111)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3181A2 #A25231
analogous
#31A28B #3181A2 #3149A2
triadic
#3181A2 #A23181 #81A231
tetradic
#3181A2 #8B31A2 #A25231 #49A231
square
#3181A2 #8B31A2 #A25231 #49A231
split-complementary
#3181A2 #A23149 #A28B31
monochromatic
#153644 #235C73 #3181A2 #48A3C8 #77BAD6

Accessibility & contrast

On white

4.38
#3181A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#3181A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3181A2#FFFFFF#000000##000000
##3181A21.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#707FA4
Deuteranopia (green-blind)
#6074A2
Tritanopia (blue-blind)
#008A8C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3181a2;
/* rgb */ color: rgb(49, 129, 162);
/* oklch */ color: oklch(56.9% 0.092 229.0);
Tailwind
colors: {
  custom: {
    50: '#77a5bd',
    500: '#3181a2',
    950: '#000000',
  },
}
SCSS
$custom: #3181a2;
$custom-light: #77a5bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3181a2",
  "rgb": {
    "r": 49,
    "g": 129,
    "b": 162
  },
  "hsl": {
    "h": 197.522,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.56887,
    "c": 0.09162,
    "h": 229
  },
  "luminance": 0.18962
}

Semantic roles & 50–950 ramp

primary
#3181A2
secondary
#BE8771
accent
#764BDD
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #3181A2

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

Preview Lab → · Contrast checker → · Palette generator →

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