#7271B2#7271B2

#7271B2 is a mid, moderate blue. Relative luminance 0.186; OKLCH L 57.7% C 0.099 H 283.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7271B2
RGBrgb(114, 113, 178)
HSLhsl(241, 30%, 57%)
HSVhsv(241, 37%, 70%)
CMYKcmyk(36%, 36.5%, 0%, 30.2%)
CIE-LABlab(50.22, 16.27, -34.37)
CIE-LCHlch(50.22, 38.02, 295.33°)
OKLaboklab(57.71% 0.0232 -0.0962)
OKLCHoklch(57.71% 0.099 283.6)
XYZxyz(20.8782, 18.6013, 44.6012)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271B2 #B1B271
analogous
#7191B2 #7271B2 #9371B2
triadic
#7271B2 #B27271 #71B272
tetradic
#7271B2 #B27191 #B1B271 #71B293
square
#7271B2 #B27191 #B1B271 #71B293
split-complementary
#7271B2 #B29371 #91B271
monochromatic
#3C3B6D #525195 #7271B2 #9999C8 #C1C0DD

Accessibility & contrast

On white

4.45
#7271B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7271B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7271B2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7271B2#FFFFFF#000000##000000
##7271B21.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7AB5
Deuteranopia (green-blind)
#5A75B0
Tritanopia (blue-blind)
#617D89
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7271b2;
/* rgb */ color: rgb(114, 113, 178);
/* oklch */ color: oklch(57.7% 0.099 283.6);
Tailwind
colors: {
  custom: {
    50: '#9d99c9',
    500: '#7271b2',
    950: '#000000',
  },
}
SCSS
$custom: #7271b2;
$custom-light: #9d99c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7271b2",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 178
  },
  "hsl": {
    "h": 240.923,
    "s": 29.68,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57706,
    "c": 0.09895,
    "h": 283.6
  },
  "luminance": 0.18602
}

Semantic roles & 50–950 ramp

primary
#7271B2
secondary
#CCCDB2
accent
#C662C4
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0E0E13
muted
#7E7E82

Preview Lab

Preview with #7271B2

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

Preview Lab → · Contrast checker → · Palette generator →

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