#7271AF#7271AF

#7271AF is a mid, moderate blue. Relative luminance 0.185; OKLCH L 57.6% C 0.095 H 283.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7271AF
RGBrgb(114, 113, 175)
HSLhsl(241, 28%, 56%)
HSVhsv(241, 35%, 69%)
CMYKcmyk(34.9%, 35.4%, 0%, 31.4%)
CIE-LABlab(50.08, 15.43, -32.85)
CIE-LCHlch(50.08, 36.29, 295.17°)
OKLaboklab(57.55% 0.0225 -0.0918)
OKLCHoklch(57.55% 0.095 283.8)
XYZxyz(20.5803, 18.4822, 43.0322)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271AF #AEAF71
analogous
#718FAF #7271AF #9171AF
triadic
#7271AF #AF7271 #71AF72
tetradic
#7271AF #AF718F #AEAF71 #71AF91
square
#7271AF #AF718F #AEAF71 #71AF91
split-complementary
#7271AF #AF9171 #8FAF71
monochromatic
#3C3C6A #535291 #7271AF #9998C5 #C0BFDB

Accessibility & contrast

On white

4.47
#7271AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#7271AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7271AF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7271AF#FFFFFF#000000##000000
##7271AF1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E79B1
Deuteranopia (green-blind)
#5C75AD
Tritanopia (blue-blind)
#627D88
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7271af;
/* rgb */ color: rgb(114, 113, 175);
/* oklch */ color: oklch(57.6% 0.095 283.8);
Tailwind
colors: {
  custom: {
    50: '#9c99c7',
    500: '#7271af',
    950: '#000000',
  },
}
SCSS
$custom: #7271af;
$custom-light: #9c99c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7271af",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 175
  },
  "hsl": {
    "h": 240.968,
    "s": 27.928,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57551,
    "c": 0.09451,
    "h": 283.8
  },
  "luminance": 0.18483
}

Semantic roles & 50–950 ramp

primary
#7271AF
secondary
#CACBB1
accent
#C464C3
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0E0E13
muted
#7E7E82

Preview Lab

Preview with #7271AF

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

Preview Lab → · Contrast checker → · Palette generator →

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