#7271B9#7271B9

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

Color values

HEX#7271B9
RGBrgb(114, 113, 185)
HSLhsl(241, 34%, 58%)
HSVhsv(241, 39%, 73%)
CMYKcmyk(38.4%, 38.9%, 0%, 27.5%)
CIE-LABlab(50.56, 18.23, -37.88)
CIE-LCHlch(50.56, 42.04, 295.70°)
OKLaboklab(58.08% 0.0247 -0.1064)
OKLCHoklch(58.08% 0.109 283.1)
XYZxyz(21.5990, 18.8897, 48.3976)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271B9 #B8B971
analogous
#7194B9 #7271B9 #9671B9
triadic
#7271B9 #B97271 #71B972
tetradic
#7271B9 #B97194 #B8B971 #71B996
square
#7271B9 #B97194 #B8B971 #71B996
split-complementary
#7271B9 #B99671 #94B971
monochromatic
#3B3A76 #4F4E9F #7271B9 #9B9ACD #C3C3E1

Accessibility & contrast

On white

4.40
#7271B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#7271B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7271B9
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7271B9#FFFFFF#000000##000000
##7271B91.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7271b9;
/* rgb */ color: rgb(114, 113, 185);
/* oklch */ color: oklch(58.1% 0.109 283.1);
Tailwind
colors: {
  custom: {
    50: '#9d99ce',
    500: '#7271b9',
    950: '#000000',
  },
}
SCSS
$custom: #7271b9;
$custom-light: #9d99ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7271b9",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 185
  },
  "hsl": {
    "h": 240.833,
    "s": 33.962,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58078,
    "c": 0.10923,
    "h": 283.1
  },
  "luminance": 0.1889
}

Semantic roles & 50–950 ramp

primary
#7271B9
secondary
#D1D1B5
accent
#CA5EC9
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0E0E13
muted
#7E7E82

Preview Lab

Preview with #7271B9

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

Preview Lab → · Contrast checker → · Palette generator →

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