#7271F4#7271F4

#7271F4 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.7% C 0.191 H 279.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7271F4
RGBrgb(114, 113, 244)
HSLhsl(240, 86%, 70%)
HSVhsv(240, 54%, 96%)
CMYKcmyk(53.3%, 53.7%, 0%, 4.3%)
CIE-LABlab(53.94, 35.80, -65.90)
CIE-LCHlch(53.94, 74.99, 298.51°)
OKLaboklab(61.72% 0.0317 -0.1885)
OKLCHoklch(61.72% 0.191 279.6)
XYZxyz(29.1686, 21.9175, 88.2639)
Luminance0.2192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271F4 #F3F471
analogous
#71B2F4 #7271F4 #B371F4
triadic
#7271F4 #F47271 #71F472
tetradic
#7271F4 #F471B2 #F3F471 #71F4B3
square
#7271F4 #F471B2 #F3F471 #71F4B3
split-complementary
#7271F4 #F4B371 #B2F471
monochromatic
#1211DA #3A38F0 #7271F4 #AAAAF8 #E3E3FD

Accessibility & contrast

On white

3.90
#7271F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#7271F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7271F4
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7271F4#FFFFFF#000000##000000
##7271F41.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2086F9
Deuteranopia (green-blind)
#007CF1
Tritanopia (blue-blind)
#368FA8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7271f4;
/* rgb */ color: rgb(114, 113, 244);
/* oklch */ color: oklch(61.7% 0.191 279.6);
Tailwind
colors: {
  custom: {
    50: '#a49af8',
    500: '#7271f4',
    950: '#000000',
  },
}
SCSS
$custom: #7271f4;
$custom-light: #a49af8;
$custom-dark: #000000;
JSON
{
  "hex": "#7271f4",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 244
  },
  "hsl": {
    "h": 240.458,
    "s": 85.621,
    "l": 70
  },
  "oklch": {
    "l": 0.61723,
    "c": 0.19116,
    "h": 279.6
  },
  "luminance": 0.21919
}

Semantic roles & 50–950 ramp

primary
#7271F4
secondary
#F2F3CE
accent
#E203E0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7271F4

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

Preview Lab → · Contrast checker → · Palette generator →

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