#7271F3#7271F3

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

Color values

HEX#7271F3
RGBrgb(114, 113, 243)
HSLhsl(240, 84%, 70%)
HSVhsv(240, 53%, 95%)
CMYKcmyk(53.1%, 53.5%, 0%, 4.7%)
CIE-LABlab(53.87, 35.49, -65.45)
CIE-LCHlch(53.87, 74.45, 298.47°)
OKLaboklab(61.66% 0.0317 -0.1872)
OKLCHoklch(61.66% 0.19 279.6)
XYZxyz(29.0172, 21.8569, 87.4664)
Luminance0.2186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271F3 #F2F371
analogous
#71B1F3 #7271F3 #B371F3
triadic
#7271F3 #F37271 #71F372
tetradic
#7271F3 #F371B1 #F2F371 #71F3B3
square
#7271F3 #F371B1 #F2F371 #71F3B3
split-complementary
#7271F3 #F3B371 #B1F371
monochromatic
#1412D7 #3A39EE #7271F3 #AAA9F8 #E2E2FD

Accessibility & contrast

On white

3.91
#7271F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#7271F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7271F3
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7271F3#FFFFFF#000000##000000
##7271F31.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2286F7
Deuteranopia (green-blind)
#007CF0
Tritanopia (blue-blind)
#378FA7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7271f3;
/* rgb */ color: rgb(114, 113, 243);
/* oklch */ color: oklch(61.7% 0.190 279.6);
Tailwind
colors: {
  custom: {
    50: '#a49af8',
    500: '#7271f3',
    950: '#000000',
  },
}
SCSS
$custom: #7271f3;
$custom-light: #a49af8;
$custom-dark: #000000;
JSON
{
  "hex": "#7271f3",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 243
  },
  "hsl": {
    "h": 240.462,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.61655,
    "c": 0.18985,
    "h": 279.6
  },
  "luminance": 0.21859
}

Semantic roles & 50–950 ramp

primary
#7271F3
secondary
#F2F2CE
accent
#E105DF
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7271F3

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

Preview Lab → · Contrast checker → · Palette generator →

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