#3181B6#3181B6

#3181B6 is a mid, moderate cyan. Relative luminance 0.197; OKLCH L 57.9% C 0.112 H 241.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#3181B6
RGBrgb(49, 129, 182)
HSLhsl(204, 58%, 45%)
HSVhsv(204, 73%, 71%)
CMYKcmyk(73.1%, 29.1%, 0%, 28.6%)
CIE-LABlab(51.53, -6.32, -34.86)
CIE-LCHlch(51.53, 35.43, 259.73°)
OKLaboklab(57.89% -0.0531 -0.0985)
OKLCHoklch(57.89% 0.112 241.7)
XYZxyz(17.5571, 19.7289, 47.1296)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3181B6 #B66631
analogous
#31B6A9 #3181B6 #313EB6
triadic
#3181B6 #B63181 #81B631
tetradic
#3181B6 #A931B6 #B66631 #3EB631
square
#3181B6 #A931B6 #B66631 #3EB631
split-complementary
#3181B6 #B6313E #B6A931
monochromatic
#173D56 #245F86 #3181B6 #539FD1 #84BADE

Accessibility & contrast

On white

4.25
#3181B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#3181B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3181B6
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3181B6#FFFFFF#000000##000000
##3181B61.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6982B8
Deuteranopia (green-blind)
#5675B5
Tritanopia (blue-blind)
#008E94
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3181b6;
/* rgb */ color: rgb(49, 129, 182);
/* oklch */ color: oklch(57.9% 0.112 241.7);
Tailwind
colors: {
  custom: {
    50: '#7aa5cc',
    500: '#3181b6',
    950: '#000000',
  },
}
SCSS
$custom: #3181b6;
$custom-light: #7aa5cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3181b6",
  "rgb": {
    "r": 49,
    "g": 129,
    "b": 182
  },
  "hsl": {
    "h": 203.91,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.57887,
    "c": 0.11194,
    "h": 241.7
  },
  "luminance": 0.19731
}

Semantic roles & 50–950 ramp

primary
#3181B6
secondary
#C79A7C
accent
#8447E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #3181B6

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

Preview Lab → · Contrast checker → · Palette generator →

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