#7270EB#7270EB

#7270EB is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.9% C 0.181 H 280.3°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7270EB
RGBrgb(114, 112, 235)
HSLhsl(241, 75%, 68%)
HSVhsv(241, 52%, 92%)
CMYKcmyk(51.5%, 52.3%, 0%, 7.8%)
CIE-LABlab(53.13, 33.64, -62.19)
CIE-LCHlch(53.13, 70.70, 298.41°)
OKLaboklab(60.93% 0.0324 -0.1776)
OKLCHoklch(60.93% 0.181 280.3)
XYZxyz(27.7244, 21.1623, 81.2050)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7270EB #E9EB70
analogous
#70ABEB #7270EB #B070EB
triadic
#7270EB #EB7270 #70EB72
tetradic
#7270EB #EB70AB #E9EB70 #70EBB0
square
#7270EB #EB70AB #E9EB70 #70EBB0
split-complementary
#7270EB #EBB070 #ABEB70
monochromatic
#1E1CC5 #3D3AE3 #7270EB #A7A6F3 #DCDBFA

Accessibility & contrast

On white

4.01
#7270EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#7270EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7270EB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7270EB#FFFFFF#000000##000000
##7270EB1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D84EF
Deuteranopia (green-blind)
#1C7AE8
Tritanopia (blue-blind)
#3F8CA3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7270eb;
/* rgb */ color: rgb(114, 112, 235);
/* oklch */ color: oklch(60.9% 0.181 280.3);
Tailwind
colors: {
  custom: {
    50: '#a399f2',
    500: '#7270eb',
    950: '#000000',
  },
}
SCSS
$custom: #7270eb;
$custom-light: #a399f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7270eb",
  "rgb": {
    "r": 114,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 240.976,
    "s": 75.46,
    "l": 68.039
  },
  "oklch": {
    "l": 0.60933,
    "c": 0.18054,
    "h": 280.3
  },
  "luminance": 0.21164
}

Semantic roles & 50–950 ramp

primary
#7270EB
secondary
#EEEEC9
accent
#D80ED4
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7270EB

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

Preview Lab → · Contrast checker → · Palette generator →

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