#3181A8#3181A8

#3181A8 is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.2% C 0.097 H 233.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#3181A8
RGBrgb(49, 129, 168)
HSLhsl(200, 55%, 43%)
HSVhsv(200, 71%, 66%)
CMYKcmyk(70.8%, 23.2%, 0%, 34.1%)
CIE-LABlab(50.90, -11.22, -27.77)
CIE-LCHlch(50.90, 29.95, 247.99°)
OKLaboklab(57.18% -0.0579 -0.078)
OKLCHoklch(57.18% 0.097 233.4)
XYZxyz(16.1820, 19.1788, 39.8873)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3181A8 #A85831
analogous
#31A894 #3181A8 #3145A8
triadic
#3181A8 #A83181 #81A831
tetradic
#3181A8 #9431A8 #A85831 #45A831
square
#3181A8 #9431A8 #A85831 #45A831
split-complementary
#3181A8 #A83145 #A89431
monochromatic
#153849 #235D79 #3181A8 #4CA1CB #7BBAD8

Accessibility & contrast

On white

4.34
#3181A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#3181A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3181A8#FFFFFF#000000##000000
##3181A81.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E80AA
Deuteranopia (green-blind)
#5E74A7
Tritanopia (blue-blind)
#008B8E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3181a8;
/* rgb */ color: rgb(49, 129, 168);
/* oklch */ color: oklch(57.2% 0.097 233.4);
Tailwind
colors: {
  custom: {
    50: '#78a5c2',
    500: '#3181a8',
    950: '#000000',
  },
}
SCSS
$custom: #3181a8;
$custom-light: #78a5c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3181a8",
  "rgb": {
    "r": 49,
    "g": 129,
    "b": 168
  },
  "hsl": {
    "h": 199.664,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.57175,
    "c": 0.09715,
    "h": 233.4
  },
  "luminance": 0.19181
}

Semantic roles & 50–950 ramp

primary
#3181A8
secondary
#C18D74
accent
#7A4ADE
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #3181A8

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

Preview Lab → · Contrast checker → · Palette generator →

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