#7271EB#7271EB

#7271EB is a mid, vivid blue. Relative luminance 0.214; OKLCH L 61.1% C 0.179 H 280.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7271EB
RGBrgb(114, 113, 235)
HSLhsl(240, 75%, 68%)
HSVhsv(240, 52%, 92%)
CMYKcmyk(51.5%, 51.9%, 0%, 7.8%)
CIE-LABlab(53.37, 33.04, -61.80)
CIE-LCHlch(53.37, 70.08, 298.13°)
OKLaboklab(61.11% 0.0313 -0.1765)
OKLCHoklch(61.11% 0.179 280.1)
XYZxyz(27.8353, 21.3842, 81.2420)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271EB #EAEB71
analogous
#71ADEB #7271EB #AF71EB
triadic
#7271EB #EB7271 #71EB72
tetradic
#7271EB #EB71AD #EAEB71 #71EBAF
square
#7271EB #EB71AD #EAEB71 #71EBAF
split-complementary
#7271EB #EBAF71 #ADEB71
monochromatic
#1D1CC6 #3D3BE3 #7271EB #A7A7F3 #DDDCFA

Accessibility & contrast

On white

3.98
#7271EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#7271EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7271EB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7271EB#FFFFFF#000000##000000
##7271EB1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3084EF
Deuteranopia (green-blind)
#207BE8
Tritanopia (blue-blind)
#3F8CA3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7271eb;
/* rgb */ color: rgb(114, 113, 235);
/* oklch */ color: oklch(61.1% 0.179 280.1);
Tailwind
colors: {
  custom: {
    50: '#a39af2',
    500: '#7271eb',
    950: '#000000',
  },
}
SCSS
$custom: #7271eb;
$custom-light: #a39af2;
$custom-dark: #000000;
JSON
{
  "hex": "#7271eb",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 240.492,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61113,
    "c": 0.17921,
    "h": 280.1
  },
  "luminance": 0.21386
}

Semantic roles & 50–950 ramp

primary
#7271EB
secondary
#EEEEC9
accent
#D70ED6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7271EB

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

Preview Lab → · Contrast checker → · Palette generator →

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