#7274E2#7274E2

#7274E2 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.1% C 0.163 H 279.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7274E2
RGBrgb(114, 116, 226)
HSLhsl(239, 66%, 67%)
HSVhsv(239, 50%, 89%)
CMYKcmyk(49.6%, 48.7%, 0%, 11.4%)
CIE-LABlab(53.55, 28.51, -56.46)
CIE-LCHlch(53.55, 63.25, 296.79°)
OKLaboklab(61.08% 0.0273 -0.1607)
OKLCHoklch(61.08% 0.163 279.6)
XYZxyz(26.9081, 21.5577, 74.6799)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7274E2 #E2E072
analogous
#72ACE2 #7274E2 #A872E2
triadic
#7274E2 #E27274 #74E272
tetradic
#7274E2 #E272AC #E2E072 #72E2A8
square
#7274E2 #E272AC #E2E072 #72E2A8
split-complementary
#7274E2 #E2A872 #ACE272
monochromatic
#2528B4 #3F42D8 #7274E2 #A5A6EC #D8D8F7

Accessibility & contrast

On white

3.95
#7274E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#7274E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7274E2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7274E2#FFFFFF#000000##000000
##7274E21.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4184E6
Deuteranopia (green-blind)
#377CE0
Tritanopia (blue-blind)
#468CA0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7274e2;
/* rgb */ color: rgb(114, 116, 226);
/* oklch */ color: oklch(61.1% 0.163 279.6);
Tailwind
colors: {
  custom: {
    50: '#a19cec',
    500: '#7274e2',
    950: '#000000',
  },
}
SCSS
$custom: #7274e2;
$custom-light: #a19cec;
$custom-dark: #000000;
JSON
{
  "hex": "#7274e2",
  "rgb": {
    "r": 114,
    "g": 116,
    "b": 226
  },
  "hsl": {
    "h": 238.929,
    "s": 65.882,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61078,
    "c": 0.16303,
    "h": 279.6
  },
  "luminance": 0.21559
}

Semantic roles & 50–950 ramp

primary
#7274E2
secondary
#EAE9C6
accent
#CA18CE
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #7274E2

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

Preview Lab → · Contrast checker → · Palette generator →

#7274E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva