#7181BF#7181BF

#7181BF is a mid, moderate blue. Relative luminance 0.230; OKLCH L 61.6% C 0.096 H 272.3°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7181BF
RGBrgb(113, 129, 191)
HSLhsl(228, 38%, 60%)
HSVhsv(228, 41%, 75%)
CMYKcmyk(40.8%, 32.5%, 0%, 25.1%)
CIE-LABlab(55.04, 10.08, -34.29)
CIE-LCHlch(55.04, 35.74, 286.38°)
OKLaboklab(61.61% 0.0038 -0.096)
OKLCHoklch(61.61% 0.096 272.3)
XYZxyz(24.0614, 22.9717, 52.4463)
Luminance0.2297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7181BF #BFAF71
analogous
#71A8BF #7181BF #8871BF
triadic
#7181BF #BF7181 #81BF71
tetradic
#7181BF #BF71A8 #BFAF71 #71BF88
square
#7181BF #BF71A8 #BFAF71 #71BF88
split-complementary
#7181BF #BF8871 #A8BF71
monochromatic
#38477D #4B5EA7 #7181BF #9BA6D2 #C5CCE5

Accessibility & contrast

On white

3.75
#7181BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#7181BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7181BF
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7181BF#FFFFFF#000000##000000
##7181BF1.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C87C2
Deuteranopia (green-blind)
#6581BE
Tritanopia (blue-blind)
#588D97
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7181bf;
/* rgb */ color: rgb(113, 129, 191);
/* oklch */ color: oklch(61.6% 0.096 272.3);
Tailwind
colors: {
  custom: {
    50: '#9da5d2',
    500: '#7181bf',
    950: '#000000',
  },
}
SCSS
$custom: #7181bf;
$custom-light: #9da5d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7181bf",
  "rgb": {
    "r": 113,
    "g": 129,
    "b": 191
  },
  "hsl": {
    "h": 227.692,
    "s": 37.864,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61605,
    "c": 0.09605,
    "h": 272.3
  },
  "luminance": 0.22973
}

Semantic roles & 50–950 ramp

primary
#7181BF
secondary
#D5CFB7
accent
#B65ACE
background
#F9FAFC
surface
#F2F4F9
border
#CCCED2
text
#0E0F14
muted
#7E7F82

Preview Lab

Preview with #7181BF

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

Preview Lab → · Contrast checker → · Palette generator →

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