#7271BD#7271BD

#7271BD is a mid, moderate blue. Relative luminance 0.191; OKLCH L 58.3% C 0.115 H 282.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7271BD
RGBrgb(114, 113, 189)
HSLhsl(241, 37%, 59%)
HSVhsv(241, 40%, 74%)
CMYKcmyk(39.7%, 40.2%, 0%, 25.9%)
CIE-LABlab(50.76, 19.37, -39.87)
CIE-LCHlch(50.76, 44.32, 295.91°)
OKLaboklab(58.3% 0.0255 -0.1122)
OKLCHoklch(58.3% 0.115 282.8)
XYZxyz(22.0272, 19.0610, 50.6528)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271BD #BCBD71
analogous
#7196BD #7271BD #9871BD
triadic
#7271BD #BD7271 #71BD72
tetradic
#7271BD #BD7196 #BCBD71 #71BD98
square
#7271BD #BD7196 #BCBD71 #71BD98
split-complementary
#7271BD #BD9871 #96BD71
monochromatic
#3A397B #4E4CA4 #7271BD #9B9BD0 #C5C5E4

Accessibility & contrast

On white

4.36
#7271BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#7271BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7271BD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7271BD#FFFFFF#000000##000000
##7271BD1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#577BC0
Deuteranopia (green-blind)
#5476BB
Tritanopia (blue-blind)
#5C808E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7271bd;
/* rgb */ color: rgb(114, 113, 189);
/* oklch */ color: oklch(58.3% 0.115 282.8);
Tailwind
colors: {
  custom: {
    50: '#9e99d1',
    500: '#7271bd',
    950: '#000000',
  },
}
SCSS
$custom: #7271bd;
$custom-light: #9e99d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7271bd",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 189
  },
  "hsl": {
    "h": 240.789,
    "s": 36.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58297,
    "c": 0.11505,
    "h": 282.8
  },
  "luminance": 0.19062
}

Semantic roles & 50–950 ramp

primary
#7271BD
secondary
#D3D4B6
accent
#CD5BCB
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0F0E14
muted
#7E7E82

Preview Lab

Preview with #7271BD

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

Preview Lab → · Contrast checker → · Palette generator →

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