#7271BA#7271BA

#7271BA is a mid, moderate blue. Relative luminance 0.189; OKLCH L 58.1% C 0.111 H 283.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7271BA
RGBrgb(114, 113, 186)
HSLhsl(241, 35%, 59%)
HSVhsv(241, 39%, 73%)
CMYKcmyk(38.7%, 39.2%, 0%, 27.1%)
CIE-LABlab(50.61, 18.52, -38.38)
CIE-LCHlch(50.61, 42.61, 295.75°)
OKLaboklab(58.13% 0.0249 -0.1078)
OKLCHoklch(58.13% 0.111 283)
XYZxyz(21.7050, 18.9320, 48.9555)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271BA #B9BA71
analogous
#7194BA #7271BA #9671BA
triadic
#7271BA #BA7271 #71BA72
tetradic
#7271BA #BA7194 #B9BA71 #71BA96
square
#7271BA #BA7194 #B9BA71 #71BA96
split-complementary
#7271BA #BA9671 #94BA71
monochromatic
#3B3A77 #4F4EA0 #7271BA #9B9ACE #C4C3E2

Accessibility & contrast

On white

4.39
#7271BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#7271BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7271BA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7271BA#FFFFFF#000000##000000
##7271BA1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#597BBD
Deuteranopia (green-blind)
#5676B8
Tritanopia (blue-blind)
#5E7F8C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7271ba;
/* rgb */ color: rgb(114, 113, 186);
/* oklch */ color: oklch(58.1% 0.111 283.0);
Tailwind
colors: {
  custom: {
    50: '#9d99cf',
    500: '#7271ba',
    950: '#000000',
  },
}
SCSS
$custom: #7271ba;
$custom-light: #9d99cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7271ba",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 186
  },
  "hsl": {
    "h": 240.822,
    "s": 34.597,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58133,
    "c": 0.11069,
    "h": 283
  },
  "luminance": 0.18933
}

Semantic roles & 50–950 ramp

primary
#7271BA
secondary
#D1D2B5
accent
#CB5DC9
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0F0E14
muted
#7E7E82

Preview Lab

Preview with #7271BA

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

Preview Lab → · Contrast checker → · Palette generator →

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