#7181BD#7181BD

#7181BD is a mid, moderate blue. Relative luminance 0.229; OKLCH L 61.5% C 0.093 H 272.0°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7181BD
RGBrgb(113, 129, 189)
HSLhsl(227, 37%, 59%)
HSVhsv(227, 40%, 74%)
CMYKcmyk(40.2%, 31.7%, 0%, 25.9%)
CIE-LABlab(54.95, 9.51, -33.29)
CIE-LCHlch(54.95, 34.62, 285.94°)
OKLaboklab(61.51% 0.0033 -0.0931)
OKLCHoklch(61.51% 0.093 272)
XYZxyz(23.8428, 22.8842, 51.2950)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7181BD #BDAD71
analogous
#71A7BD #7181BD #8771BD
triadic
#7181BD #BD7181 #81BD71
tetradic
#7181BD #BD71A7 #BDAD71 #71BD87
square
#7181BD #BD71A7 #BDAD71 #71BD87
split-complementary
#7181BD #BD8771 #A7BD71
monochromatic
#39477B #4C5FA4 #7181BD #9BA6D0 #C5CBE4

Accessibility & contrast

On white

3.77
#7181BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#7181BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7181BD
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7181BD#FFFFFF#000000##000000
##7181BD1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D87C0
Deuteranopia (green-blind)
#6681BC
Tritanopia (blue-blind)
#598D96
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7181bd;
/* rgb */ color: rgb(113, 129, 189);
/* oklch */ color: oklch(61.5% 0.093 272.0);
Tailwind
colors: {
  custom: {
    50: '#9da5d1',
    500: '#7181bd',
    950: '#000000',
  },
}
SCSS
$custom: #7181bd;
$custom-light: #9da5d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7181bd",
  "rgb": {
    "r": 113,
    "g": 129,
    "b": 189
  },
  "hsl": {
    "h": 227.368,
    "s": 36.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61505,
    "c": 0.09314,
    "h": 272
  },
  "luminance": 0.22885
}

Semantic roles & 50–950 ramp

primary
#7181BD
secondary
#D4CEB6
accent
#B55BCD
background
#F9FAFC
surface
#F2F4F9
border
#CCCED2
text
#0E0F14
muted
#7E7F82

Preview Lab

Preview with #7181BD

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

Preview Lab → · Contrast checker → · Palette generator →

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