#7271CA#7271CA

#7271CA is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.0% C 0.134 H 282.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7271CA
RGBrgb(114, 113, 202)
HSLhsl(241, 46%, 62%)
HSVhsv(241, 44%, 79%)
CMYKcmyk(43.6%, 44.1%, 0%, 20.8%)
CIE-LABlab(51.44, 23.14, -46.24)
CIE-LCHlch(51.44, 51.71, 296.58°)
OKLaboklab(59.04% 0.0278 -0.1308)
OKLCHoklch(59.04% 0.134 282)
XYZxyz(23.5021, 19.6509, 58.4203)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271CA #C9CA71
analogous
#719DCA #7271CA #9F71CA
triadic
#7271CA #CA7271 #71CA72
tetradic
#7271CA #CA719D #C9CA71 #71CA9F
square
#7271CA #CA719D #C9CA71 #71CA9F
split-complementary
#7271CA #CA9F71 #9DCA71
monochromatic
#35348C #4645B9 #7271CA #9E9EDB #CBCAEB

Accessibility & contrast

On white

4.26
#7271CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#7271CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7271CA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7271CA#FFFFFF#000000##000000
##7271CA1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7ECD
Deuteranopia (green-blind)
#4A78C8
Tritanopia (blue-blind)
#568394
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7271ca;
/* rgb */ color: rgb(114, 113, 202);
/* oklch */ color: oklch(59.0% 0.134 282.0);
Tailwind
colors: {
  custom: {
    50: '#9f99da',
    500: '#7271ca',
    950: '#000000',
  },
}
SCSS
$custom: #7271ca;
$custom-light: #9f99da;
$custom-dark: #000000;
JSON
{
  "hex": "#7271ca",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 240.674,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59038,
    "c": 0.13372,
    "h": 282
  },
  "luminance": 0.19652
}

Semantic roles & 50–950 ramp

primary
#7271CA
secondary
#DCDCBB
accent
#B92DB7
background
#FAF9FD
surface
#F3F2FB
border
#CDCCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7271CA

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

Preview Lab → · Contrast checker → · Palette generator →

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