#7271BB#7271BB

#7271BB is a mid, moderate blue. Relative luminance 0.190; OKLCH L 58.2% C 0.112 H 283.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7271BB
RGBrgb(114, 113, 187)
HSLhsl(241, 35%, 59%)
HSVhsv(241, 40%, 73%)
CMYKcmyk(39%, 39.6%, 0%, 26.7%)
CIE-LABlab(50.66, 18.80, -38.88)
CIE-LCHlch(50.66, 43.18, 295.81°)
OKLaboklab(58.19% 0.0252 -0.1093)
OKLCHoklch(58.19% 0.112 283)
XYZxyz(21.8116, 18.9747, 49.5173)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271BB #BABB71
analogous
#7195BB #7271BB #9771BB
triadic
#7271BB #BB7271 #71BB72
tetradic
#7271BB #BB7195 #BABB71 #71BB97
square
#7271BB #BB7195 #BABB71 #71BB97
split-complementary
#7271BB #BB9771 #95BB71
monochromatic
#3A3A78 #4E4DA1 #7271BB #9B9ACF #C4C4E3

Accessibility & contrast

On white

4.38
#7271BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#7271BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7271BB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7271BB#FFFFFF#000000##000000
##7271BB1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#587BBE
Deuteranopia (green-blind)
#5576B9
Tritanopia (blue-blind)
#5D7F8D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7271bb;
/* rgb */ color: rgb(114, 113, 187);
/* oklch */ color: oklch(58.2% 0.112 283.0);
Tailwind
colors: {
  custom: {
    50: '#9d99d0',
    500: '#7271bb',
    950: '#000000',
  },
}
SCSS
$custom: #7271bb;
$custom-light: #9d99d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7271bb",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 240.811,
    "s": 35.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58187,
    "c": 0.11215,
    "h": 283
  },
  "luminance": 0.18976
}

Semantic roles & 50–950 ramp

primary
#7271BB
secondary
#D2D2B5
accent
#CB5DCA
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0F0E14
muted
#7E7E82

Preview Lab

Preview with #7271BB

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

Preview Lab → · Contrast checker → · Palette generator →

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