#7271DC#7271DC

#7271DC is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.1% C 0.159 H 280.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7271DC
RGBrgb(114, 113, 220)
HSLhsl(241, 60%, 65%)
HSVhsv(241, 49%, 86%)
CMYKcmyk(48.2%, 48.6%, 0%, 13.7%)
CIE-LABlab(52.46, 28.49, -54.84)
CIE-LCHlch(52.46, 61.80, 297.46°)
OKLaboklab(60.14% 0.0301 -0.156)
OKLCHoklch(60.14% 0.159 280.9)
XYZxyz(25.7589, 20.5536, 70.3062)
Luminance0.2056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271DC #DBDC71
analogous
#71A5DC #7271DC #A871DC
triadic
#7271DC #DC7271 #71DC72
tetradic
#7271DC #DC71A5 #DBDC71 #71DCA8
square
#7271DC #DC71A5 #DBDC71 #71DCA8
split-complementary
#7271DC #DCA871 #A5DC71
monochromatic
#2B2AA9 #4140D0 #7271DC #A3A2E8 #D4D3F4

Accessibility & contrast

On white

4.11
#7271DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#7271DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7271DC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7271DC#FFFFFF#000000##000000
##7271DC1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4181E0
Deuteranopia (green-blind)
#3979DA
Tritanopia (blue-blind)
#4B889C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7271dc;
/* rgb */ color: rgb(114, 113, 220);
/* oklch */ color: oklch(60.1% 0.159 280.9);
Tailwind
colors: {
  custom: {
    50: '#a199e7',
    500: '#7271dc',
    950: '#000000',
  },
}
SCSS
$custom: #7271dc;
$custom-light: #a199e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7271dc",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 240.561,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60137,
    "c": 0.15887,
    "h": 280.9
  },
  "luminance": 0.20555
}

Semantic roles & 50–950 ramp

primary
#7271DC
secondary
#E6E6C2
accent
#C81DC7
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #7271DC

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

Preview Lab → · Contrast checker → · Palette generator →

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