#7271CB#7271CB

#7271CB is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.1% C 0.135 H 281.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7271CB
RGBrgb(114, 113, 203)
HSLhsl(241, 46%, 62%)
HSVhsv(241, 44%, 80%)
CMYKcmyk(43.8%, 44.3%, 0%, 20.4%)
CIE-LABlab(51.49, 23.43, -46.72)
CIE-LCHlch(51.49, 52.27, 296.63°)
OKLaboklab(59.1% 0.028 -0.1322)
OKLCHoklch(59.1% 0.135 281.9)
XYZxyz(23.6209, 19.6984, 59.0459)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271CB #CACB71
analogous
#719DCB #7271CB #9F71CB
triadic
#7271CB #CB7271 #71CB72
tetradic
#7271CB #CB719D #CACB71 #71CB9F
square
#7271CB #CB719D #CACB71 #71CB9F
split-complementary
#7271CB #CB9F71 #9DCB71
monochromatic
#35348E #4644BB #7271CB #9E9EDB #CBCBEC

Accessibility & contrast

On white

4.25
#7271CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#7271CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7271CB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7271CB#FFFFFF#000000##000000
##7271CB1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7ECE
Deuteranopia (green-blind)
#4A78C9
Tritanopia (blue-blind)
#558394
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7271cb;
/* rgb */ color: rgb(114, 113, 203);
/* oklch */ color: oklch(59.1% 0.135 281.9);
Tailwind
colors: {
  custom: {
    50: '#9f99db',
    500: '#7271cb',
    950: '#000000',
  },
}
SCSS
$custom: #7271cb;
$custom-light: #9f99db;
$custom-dark: #000000;
JSON
{
  "hex": "#7271cb",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 240.667,
    "s": 46.392,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59097,
    "c": 0.13513,
    "h": 281.9
  },
  "luminance": 0.19699
}

Semantic roles & 50–950 ramp

primary
#7271CB
secondary
#DCDCBB
accent
#BA2CB8
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7271CB

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

Preview Lab → · Contrast checker → · Palette generator →

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