#7271EE#7271EE

#7271EE is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.3% C 0.183 H 279.9°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7271EE
RGBrgb(114, 113, 238)
HSLhsl(240, 79%, 69%)
HSVhsv(240, 53%, 93%)
CMYKcmyk(52.1%, 52.5%, 0%, 6.7%)
CIE-LABlab(53.56, 33.96, -63.17)
CIE-LCHlch(53.56, 71.72, 298.26°)
OKLaboklab(61.31% 0.0315 -0.1805)
OKLCHoklch(61.31% 0.183 279.9)
XYZxyz(28.2724, 21.5590, 83.5439)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271EE #EDEE71
analogous
#71AFEE #7271EE #B171EE
triadic
#7271EE #EE7271 #71EE72
tetradic
#7271EE #EE71AF #EDEE71 #71EEB1
square
#7271EE #EE71AF #EDEE71 #71EEB1
split-complementary
#7271EE #EEB171 #AFEE71
monochromatic
#1A18CC #3C3AE7 #7271EE #A8A8F5 #DFDEFB

Accessibility & contrast

On white

3.95
#7271EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#7271EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7271EE
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7271EE#FFFFFF#000000##000000
##7271EE1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B85F2
Deuteranopia (green-blind)
#187BEB
Tritanopia (blue-blind)
#3C8DA5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7271ee;
/* rgb */ color: rgb(114, 113, 238);
/* oklch */ color: oklch(61.3% 0.183 279.9);
Tailwind
colors: {
  custom: {
    50: '#a39af4',
    500: '#7271ee',
    950: '#000000',
  },
}
SCSS
$custom: #7271ee;
$custom-light: #a39af4;
$custom-dark: #000000;
JSON
{
  "hex": "#7271ee",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 238
  },
  "hsl": {
    "h": 240.48,
    "s": 78.616,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61314,
    "c": 0.18322,
    "h": 279.9
  },
  "luminance": 0.21561
}

Semantic roles & 50–950 ramp

primary
#7271EE
secondary
#F0F0CB
accent
#DB0BD9
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7271EE

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

Preview Lab → · Contrast checker → · Palette generator →

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