#3181B8#3181B8

#3181B8 is a mid, moderate cyan. Relative luminance 0.198; OKLCH L 58.0% C 0.114 H 242.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#3181B8
RGBrgb(49, 129, 184)
HSLhsl(204, 58%, 46%)
HSVhsv(204, 73%, 72%)
CMYKcmyk(73.4%, 29.9%, 0%, 27.8%)
CIE-LABlab(51.62, -5.60, -35.86)
CIE-LCHlch(51.62, 36.30, 261.12°)
OKLaboklab(57.99% -0.0525 -0.1014)
OKLCHoklch(57.99% 0.114 242.7)
XYZxyz(17.7653, 19.8121, 48.2260)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3181B8 #B86831
analogous
#31B8AB #3181B8 #313EB8
triadic
#3181B8 #B83181 #81B831
tetradic
#3181B8 #AB31B8 #B86831 #3EB831
square
#3181B8 #AB31B8 #B86831 #3EB831
split-complementary
#3181B8 #B8313E #B8AB31
monochromatic
#173D57 #245F88 #3181B8 #559FD2 #85BADE

Accessibility & contrast

On white

4.23
#3181B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#3181B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3181B8#FFFFFF#000000##000000
##3181B81.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6882BA
Deuteranopia (green-blind)
#5575B7
Tritanopia (blue-blind)
#008F94
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3181b8;
/* rgb */ color: rgb(49, 129, 184);
/* oklch */ color: oklch(58.0% 0.114 242.7);
Tailwind
colors: {
  custom: {
    50: '#7ba5cd',
    500: '#3181b8',
    950: '#000000',
  },
}
SCSS
$custom: #3181b8;
$custom-light: #7ba5cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3181b8",
  "rgb": {
    "r": 49,
    "g": 129,
    "b": 184
  },
  "hsl": {
    "h": 204.444,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.57993,
    "c": 0.11422,
    "h": 242.7
  },
  "luminance": 0.19814
}

Semantic roles & 50–950 ramp

primary
#3181B8
secondary
#C89B7D
accent
#8647E1
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #3181B8

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

Preview Lab → · Contrast checker → · Palette generator →

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