#7181BC#7181BC

#7181BC is a mid, moderate blue. Relative luminance 0.228; OKLCH L 61.5% C 0.092 H 271.9°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7181BC
RGBrgb(113, 129, 188)
HSLhsl(227, 36%, 59%)
HSVhsv(227, 40%, 74%)
CMYKcmyk(39.9%, 31.4%, 0%, 26.3%)
CIE-LABlab(54.91, 9.22, -32.79)
CIE-LCHlch(54.91, 34.06, 285.71°)
OKLaboklab(61.46% 0.003 -0.0916)
OKLCHoklch(61.46% 0.092 271.9)
XYZxyz(23.7347, 22.8410, 50.7253)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7181BC #BCAC71
analogous
#71A7BC #7181BC #8771BC
triadic
#7181BC #BC7181 #81BC71
tetradic
#7181BC #BC71A7 #BCAC71 #71BC87
square
#7181BC #BC71A7 #BCAC71 #71BC87
split-complementary
#7181BC #BC8771 #A7BC71
monochromatic
#394779 #4D5FA3 #7181BC #9BA6D0 #C4CBE3

Accessibility & contrast

On white

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

On black

5.57
#7181BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7181BC
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7181BC#FFFFFF#000000##000000
##7181BC1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D87BE
Deuteranopia (green-blind)
#6781BB
Tritanopia (blue-blind)
#598D96
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7181bc;
/* rgb */ color: rgb(113, 129, 188);
/* oklch */ color: oklch(61.5% 0.092 271.9);
Tailwind
colors: {
  custom: {
    50: '#9ca5d0',
    500: '#7181bc',
    950: '#000000',
  },
}
SCSS
$custom: #7181bc;
$custom-light: #9ca5d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7181bc",
  "rgb": {
    "r": 113,
    "g": 129,
    "b": 188
  },
  "hsl": {
    "h": 227.2,
    "s": 35.885,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61456,
    "c": 0.09168,
    "h": 271.9
  },
  "luminance": 0.22842
}

Semantic roles & 50–950 ramp

primary
#7181BC
secondary
#D3CDB6
accent
#B45CCC
background
#F9FAFC
surface
#F2F4F9
border
#CCCED2
text
#0E0F14
muted
#7E7F82

Preview Lab

Preview with #7181BC

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

Preview Lab → · Contrast checker → · Palette generator →

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