#7181BB#7181BB

#7181BB is a mid, moderate blue. Relative luminance 0.228; OKLCH L 61.4% C 0.090 H 271.7°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7181BB
RGBrgb(113, 129, 187)
HSLhsl(227, 35%, 59%)
HSVhsv(227, 40%, 73%)
CMYKcmyk(39.6%, 31%, 0%, 26.7%)
CIE-LABlab(54.86, 8.94, -32.29)
CIE-LCHlch(54.86, 33.50, 285.47°)
OKLaboklab(61.41% 0.0027 -0.0902)
OKLCHoklch(61.41% 0.09 271.7)
XYZxyz(23.6273, 22.7980, 50.1596)
Luminance0.2280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7181BB #BBAB71
analogous
#71A6BB #7181BB #8671BB
triadic
#7181BB #BB7181 #81BB71
tetradic
#7181BB #BB71A6 #BBAB71 #71BB86
square
#7181BB #BB71A6 #BBAB71 #71BB86
split-complementary
#7181BB #BB8671 #A6BB71
monochromatic
#3A4778 #4D60A1 #7181BB #9AA6CF #C4CAE3

Accessibility & contrast

On white

3.78
#7181BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#7181BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7181BB
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7181BB#FFFFFF#000000##000000
##7181BB1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D87BD
Deuteranopia (green-blind)
#6780BA
Tritanopia (blue-blind)
#5A8D96
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7181bb;
/* rgb */ color: rgb(113, 129, 187);
/* oklch */ color: oklch(61.4% 0.090 271.7);
Tailwind
colors: {
  custom: {
    50: '#9ca5cf',
    500: '#7181bb',
    950: '#000000',
  },
}
SCSS
$custom: #7181bb;
$custom-light: #9ca5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7181bb",
  "rgb": {
    "r": 113,
    "g": 129,
    "b": 187
  },
  "hsl": {
    "h": 227.027,
    "s": 35.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61407,
    "c": 0.09022,
    "h": 271.7
  },
  "luminance": 0.22799
}

Semantic roles & 50–950 ramp

primary
#7181BB
secondary
#D2CCB5
accent
#B35DCB
background
#F9FAFC
surface
#F2F4F9
border
#CCCED2
text
#0E0F14
muted
#7E7F82

Preview Lab

Preview with #7181BB

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

Preview Lab → · Contrast checker → · Palette generator →

#7181BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva