#7271BF#7271BF

#7271BF is a mid, moderate blue. Relative luminance 0.191; OKLCH L 58.4% C 0.118 H 282.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7271BF
RGBrgb(114, 113, 191)
HSLhsl(241, 38%, 60%)
HSVhsv(241, 41%, 75%)
CMYKcmyk(40.3%, 40.8%, 0%, 25.1%)
CIE-LABlab(50.86, 19.94, -40.86)
CIE-LCHlch(50.86, 45.47, 296.02°)
OKLaboklab(58.41% 0.0259 -0.1151)
OKLCHoklch(58.41% 0.118 282.7)
XYZxyz(22.2458, 19.1484, 51.8040)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271BF #BEBF71
analogous
#7197BF #7271BF #9971BF
triadic
#7271BF #BF7271 #71BF72
tetradic
#7271BF #BF7197 #BEBF71 #71BF99
square
#7271BF #BF7197 #BEBF71 #71BF99
split-complementary
#7271BF #BF9971 #97BF71
monochromatic
#39387D #4D4BA7 #7271BF #9C9BD2 #C6C5E5

Accessibility & contrast

On white

4.35
#7271BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#7271BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7271BF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7271BF#FFFFFF#000000##000000
##7271BF1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#567CC2
Deuteranopia (green-blind)
#5277BD
Tritanopia (blue-blind)
#5B808F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7271bf;
/* rgb */ color: rgb(114, 113, 191);
/* oklch */ color: oklch(58.4% 0.118 282.7);
Tailwind
colors: {
  custom: {
    50: '#9e99d2',
    500: '#7271bf',
    950: '#000000',
  },
}
SCSS
$custom: #7271bf;
$custom-light: #9e99d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7271bf",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 240.769,
    "s": 37.864,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58408,
    "c": 0.11795,
    "h": 282.7
  },
  "luminance": 0.19149
}

Semantic roles & 50–950 ramp

primary
#7271BF
secondary
#D5D5B7
accent
#CE5ACC
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0F0E14
muted
#7E7E82

Preview Lab

Preview with #7271BF

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

Preview Lab → · Contrast checker → · Palette generator →

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