#7272F1#7272F1

#7272F1 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.7% C 0.186 H 279.5°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#7272F1
RGBrgb(114, 114, 241)
HSLhsl(240, 82%, 70%)
HSVhsv(240, 53%, 95%)
CMYKcmyk(52.7%, 52.7%, 0%, 5.5%)
CIE-LABlab(53.99, 34.28, -64.15)
CIE-LCHlch(53.99, 72.74, 298.12°)
OKLaboklab(61.7% 0.0306 -0.1834)
OKLCHoklch(61.7% 0.186 279.5)
XYZxyz(28.8290, 21.9611, 85.9218)
Luminance0.2196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7272F1 #F1F172
analogous
#72B2F1 #7272F1 #B272F1
triadic
#7272F1 #F17272 #72F172
tetradic
#7272F1 #F172B2 #F1F172 #72F1B2
square
#7272F1 #F172B2 #F1F172 #72F1B2
split-complementary
#7272F1 #F1B272 #B2F172
monochromatic
#1515D4 #3A3AEB #7272F1 #AAAAF7 #E1E1FC

Accessibility & contrast

On white

3.89
#7272F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#7272F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7272F1
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7272F1#FFFFFF#000000##000000
##7272F11.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2986F5
Deuteranopia (green-blind)
#127CEE
Tritanopia (blue-blind)
#398FA7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7272f1;
/* rgb */ color: rgb(114, 114, 241);
/* oklch */ color: oklch(61.7% 0.186 279.5);
Tailwind
colors: {
  custom: {
    50: '#a39af6',
    500: '#7272f1',
    950: '#000000',
  },
}
SCSS
$custom: #7272f1;
$custom-light: #a39af6;
$custom-dark: #000000;
JSON
{
  "hex": "#7272f1",
  "rgb": {
    "r": 114,
    "g": 114,
    "b": 241
  },
  "hsl": {
    "h": 240,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.61697,
    "c": 0.1859,
    "h": 279.5
  },
  "luminance": 0.21963
}

Semantic roles & 50–950 ramp

primary
#7272F1
secondary
#F2F2CD
accent
#DE07DE
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7272F1

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

Preview Lab → · Contrast checker → · Palette generator →

#7272F1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva