#7270EA#7270EA

#7270EA is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.9% C 0.179 H 280.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7270EA
RGBrgb(114, 112, 234)
HSLhsl(241, 74%, 68%)
HSVhsv(241, 52%, 92%)
CMYKcmyk(51.3%, 52.1%, 0%, 8.2%)
CIE-LABlab(53.06, 33.33, -61.73)
CIE-LCHlch(53.06, 70.15, 298.37°)
OKLaboklab(60.87% 0.0323 -0.1763)
OKLCHoklch(60.87% 0.179 280.4)
XYZxyz(27.5803, 21.1047, 80.4463)
Luminance0.2111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7270EA #E8EA70
analogous
#70ABEA #7270EA #AF70EA
triadic
#7270EA #EA7270 #70EA72
tetradic
#7270EA #EA70AB #E8EA70 #70EAAF
square
#7270EA #EA70AB #E8EA70 #70EAAF
split-complementary
#7270EA #EAAF70 #ABEA70
monochromatic
#1F1DC3 #3D3BE2 #7270EA #A7A5F2 #DBDBFA

Accessibility & contrast

On white

4.02
#7270EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#7270EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7270EA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7270EA#FFFFFF#000000##000000
##7270EA1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E83EE
Deuteranopia (green-blind)
#1F7AE7
Tritanopia (blue-blind)
#408BA2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7270ea;
/* rgb */ color: rgb(114, 112, 234);
/* oklch */ color: oklch(60.9% 0.179 280.4);
Tailwind
colors: {
  custom: {
    50: '#a399f1',
    500: '#7270ea',
    950: '#000000',
  },
}
SCSS
$custom: #7270ea;
$custom-light: #a399f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7270ea",
  "rgb": {
    "r": 114,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 240.984,
    "s": 74.39,
    "l": 67.843
  },
  "oklch": {
    "l": 0.60866,
    "c": 0.1792,
    "h": 280.4
  },
  "luminance": 0.21106
}

Semantic roles & 50–950 ramp

primary
#7270EA
secondary
#EDEEC8
accent
#D70FD3
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7270EA

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

Preview Lab → · Contrast checker → · Palette generator →

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