#7270CD#7270CD

#7270CD is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.0% C 0.139 H 282.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7270CD
RGBrgb(114, 112, 205)
HSLhsl(241, 48%, 62%)
HSVhsv(241, 45%, 80%)
CMYKcmyk(44.4%, 45.4%, 0%, 19.6%)
CIE-LABlab(51.35, 24.62, -48.09)
CIE-LCHlch(51.35, 54.03, 297.11°)
OKLaboklab(59.02% 0.0295 -0.1362)
OKLCHoklch(59.02% 0.139 282.2)
XYZxyz(23.7498, 19.5725, 60.2722)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7270CD #CBCD70
analogous
#709DCD #7270CD #A070CD
triadic
#7270CD #CD7270 #70CD72
tetradic
#7270CD #CD709D #CBCD70 #70CDA0
square
#7270CD #CD709D #CBCD70 #70CDA0
split-complementary
#7270CD #CDA070 #9DCD70
monochromatic
#343290 #4543BD #7270CD #9F9DDD #CBCBED

Accessibility & contrast

On white

4.27
#7270CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#7270CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7270CD
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7270CD#FFFFFF#000000##000000
##7270CD1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7ED0
Deuteranopia (green-blind)
#4677CB
Tritanopia (blue-blind)
#548395
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7270cd;
/* rgb */ color: rgb(114, 112, 205);
/* oklch */ color: oklch(59.0% 0.139 282.2);
Tailwind
colors: {
  custom: {
    50: '#9f99dd',
    500: '#7270cd',
    950: '#000000',
  },
}
SCSS
$custom: #7270cd;
$custom-light: #9f99dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7270cd",
  "rgb": {
    "r": 114,
    "g": 112,
    "b": 205
  },
  "hsl": {
    "h": 241.29,
    "s": 48.187,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59024,
    "c": 0.13938,
    "h": 282.2
  },
  "luminance": 0.19574
}

Semantic roles & 50–950 ramp

primary
#7270CD
secondary
#DDDDBB
accent
#BB2AB8
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #7270CD

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

Preview Lab → · Contrast checker → · Palette generator →

#7270CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva