#3181AF#3181AF

#3181AF is a mid, moderate cyan. Relative luminance 0.194; OKLCH L 57.5% C 0.104 H 237.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#3181AF
RGBrgb(49, 129, 175)
HSLhsl(202, 56%, 44%)
HSVhsv(202, 72%, 69%)
CMYKcmyk(72%, 26.3%, 0%, 31.4%)
CIE-LABlab(51.21, -8.79, -31.33)
CIE-LCHlch(51.21, 32.54, 254.33°)
OKLaboklab(57.52% -0.0554 -0.0883)
OKLCHoklch(57.52% 0.104 237.9)
XYZxyz(16.8517, 19.4467, 43.4146)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3181AF #AF5F31
analogous
#31AF9E #3181AF #3142AF
triadic
#3181AF #AF3181 #81AF31
tetradic
#3181AF #9E31AF #AF5F31 #42AF31
square
#3181AF #9E31AF #AF5F31 #42AF31
split-complementary
#3181AF #AF3142 #AF9E31
monochromatic
#163B4F #245E7F #3181AF #4FA0CE #7FBADB

Accessibility & contrast

On white

4.29
#3181AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#3181AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3181AF#FFFFFF#000000##000000
##3181AF1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B81B1
Deuteranopia (green-blind)
#5A75AE
Tritanopia (blue-blind)
#008D91
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3181af;
/* rgb */ color: rgb(49, 129, 175);
/* oklch */ color: oklch(57.5% 0.104 237.9);
Tailwind
colors: {
  custom: {
    50: '#79a5c7',
    500: '#3181af',
    950: '#000000',
  },
}
SCSS
$custom: #3181af;
$custom-light: #79a5c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3181af",
  "rgb": {
    "r": 49,
    "g": 129,
    "b": 175
  },
  "hsl": {
    "h": 201.905,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.57524,
    "c": 0.10427,
    "h": 237.9
  },
  "luminance": 0.19449
}

Semantic roles & 50–950 ramp

primary
#3181AF
secondary
#C49478
accent
#7F48E0
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #3181AF

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

Preview Lab → · Contrast checker → · Palette generator →

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