#3181BA#3181BA

#3181BA is a mid, moderate cyan. Relative luminance 0.199; OKLCH L 58.1% C 0.117 H 243.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#3181BA
RGBrgb(49, 129, 186)
HSLhsl(205, 58%, 46%)
HSVhsv(205, 74%, 73%)
CMYKcmyk(73.7%, 30.6%, 0%, 27.1%)
CIE-LABlab(51.72, -4.89, -36.86)
CIE-LCHlch(51.72, 37.18, 262.44°)
OKLaboklab(58.1% -0.0518 -0.1043)
OKLCHoklch(58.1% 0.117 243.6)
XYZxyz(17.9764, 19.8966, 49.3379)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3181BA #BA6A31
analogous
#31BAAE #3181BA #313CBA
triadic
#3181BA #BA3181 #81BA31
tetradic
#3181BA #AE31BA #BA6A31 #3CBA31
square
#3181BA #AE31BA #BA6A31 #3CBA31
split-complementary
#3181BA #BA313C #BAAE31
monochromatic
#173E59 #245F8A #3181BA #569FD2 #86BADF

Accessibility & contrast

On white

4.22
#3181BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#3181BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3181BA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3181BA#FFFFFF#000000##000000
##3181BA1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6782BC
Deuteranopia (green-blind)
#5475B9
Tritanopia (blue-blind)
#008F95
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3181ba;
/* rgb */ color: rgb(49, 129, 186);
/* oklch */ color: oklch(58.1% 0.117 243.6);
Tailwind
colors: {
  custom: {
    50: '#7ba5cf',
    500: '#3181ba',
    950: '#000000',
  },
}
SCSS
$custom: #3181ba;
$custom-light: #7ba5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3181ba",
  "rgb": {
    "r": 49,
    "g": 129,
    "b": 186
  },
  "hsl": {
    "h": 204.964,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.581,
    "c": 0.11652,
    "h": 243.6
  },
  "luminance": 0.19899
}

Semantic roles & 50–950 ramp

primary
#3181BA
secondary
#C99D7E
accent
#8746E2
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #3181BA

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

Preview Lab → · Contrast checker → · Palette generator →

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