#7274EA#7274EA

#7274EA is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.6% C 0.174 H 279.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7274EA
RGBrgb(114, 116, 234)
HSLhsl(239, 74%, 68%)
HSVhsv(239, 51%, 92%)
CMYKcmyk(51.3%, 50.4%, 0%, 8.2%)
CIE-LABlab(54.03, 30.94, -60.17)
CIE-LCHlch(54.03, 67.66, 297.22°)
OKLaboklab(61.59% 0.028 -0.1716)
OKLCHoklch(61.59% 0.174 279.3)
XYZxyz(28.0315, 22.0070, 80.5967)
Luminance0.2201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7274EA #EAE872
analogous
#72B0EA #7274EA #AC72EA
triadic
#7274EA #EA7274 #74EA72
tetradic
#7274EA #EA72B0 #EAE872 #72EAAC
square
#7274EA #EA72B0 #EAE872 #72EAAC
split-complementary
#7274EA #EAAC72 #B0EA72
monochromatic
#1D20C4 #3D3FE2 #7274EA #A7A9F2 #DDDDFA

Accessibility & contrast

On white

3.89
#7274EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#7274EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7274EA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7274EA#FFFFFF#000000##000000
##7274EA1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3986EE
Deuteranopia (green-blind)
#2B7DE7
Tritanopia (blue-blind)
#408EA4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7274ea;
/* rgb */ color: rgb(114, 116, 234);
/* oklch */ color: oklch(61.6% 0.174 279.3);
Tailwind
colors: {
  custom: {
    50: '#a29cf1',
    500: '#7274ea',
    950: '#000000',
  },
}
SCSS
$custom: #7274ea;
$custom-light: #a29cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#7274ea",
  "rgb": {
    "r": 114,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 239,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61594,
    "c": 0.17391,
    "h": 279.3
  },
  "luminance": 0.22009
}

Semantic roles & 50–950 ramp

primary
#7274EA
secondary
#EEEDCA
accent
#D30FD6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7274EA

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

Preview Lab → · Contrast checker → · Palette generator →

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