#7271DD#7271DD

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

Color values

HEX#7271DD
RGBrgb(114, 113, 221)
HSLhsl(241, 61%, 65%)
HSVhsv(241, 49%, 87%)
CMYKcmyk(48.4%, 48.9%, 0%, 13.3%)
CIE-LABlab(52.52, 28.79, -55.31)
CIE-LCHlch(52.52, 62.35, 297.50°)
OKLaboklab(60.2% 0.0302 -0.1574)
OKLCHoklch(60.2% 0.16 280.9)
XYZxyz(25.8917, 20.6067, 71.0058)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271DD #DCDD71
analogous
#71A6DD #7271DD #A871DD
triadic
#7271DD #DD7271 #71DD72
tetradic
#7271DD #DD71A6 #DCDD71 #71DDA8
square
#7271DD #DD71A6 #DCDD71 #71DDA8
split-complementary
#7271DD #DDA871 #A6DD71
monochromatic
#2A29AB #4140D1 #7271DD #A3A2E9 #D4D4F5

Accessibility & contrast

On white

4.10
#7271DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#7271DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7271DD
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7271DD#FFFFFF#000000##000000
##7271DD1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4081E1
Deuteranopia (green-blind)
#3879DB
Tritanopia (blue-blind)
#4A889C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7271dd;
/* rgb */ color: rgb(114, 113, 221);
/* oklch */ color: oklch(60.2% 0.160 280.9);
Tailwind
colors: {
  custom: {
    50: '#a199e8',
    500: '#7271dd',
    950: '#000000',
  },
}
SCSS
$custom: #7271dd;
$custom-light: #a199e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7271dd",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 221
  },
  "hsl": {
    "h": 240.556,
    "s": 61.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.602,
    "c": 0.16024,
    "h": 280.9
  },
  "luminance": 0.20608
}

Semantic roles & 50–950 ramp

primary
#7271DD
secondary
#E7E7C3
accent
#C91CC7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #7271DD

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

Preview Lab → · Contrast checker → · Palette generator →

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