#7274EC#7274EC

#7274EC is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.7% C 0.177 H 279.2°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7274EC
RGBrgb(114, 116, 236)
HSLhsl(239, 76%, 69%)
HSVhsv(239, 52%, 93%)
CMYKcmyk(51.7%, 50.8%, 0%, 7.5%)
CIE-LABlab(54.16, 31.56, -61.09)
CIE-LCHlch(54.16, 68.76, 297.32°)
OKLaboklab(61.72% 0.0281 -0.1743)
OKLCHoklch(61.72% 0.177 279.2)
XYZxyz(28.3204, 22.1226, 82.1184)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7274EC #ECEA72
analogous
#72B1EC #7274EC #AD72EC
triadic
#7274EC #EC7274 #74EC72
tetradic
#7274EC #EC72B1 #ECEA72 #72ECAD
square
#7274EC #EC72B1 #ECEA72 #72ECAD
split-complementary
#7274EC #ECAD72 #B1EC72
monochromatic
#1B1EC9 #3C3FE5 #7274EC #A8A9F3 #DEDEFB

Accessibility & contrast

On white

3.87
#7274EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#7274EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7274EC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7274EC#FFFFFF#000000##000000
##7274EC1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3786F0
Deuteranopia (green-blind)
#287DE9
Tritanopia (blue-blind)
#3E8FA5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7274ec;
/* rgb */ color: rgb(114, 116, 236);
/* oklch */ color: oklch(61.7% 0.177 279.2);
Tailwind
colors: {
  custom: {
    50: '#a39cf3',
    500: '#7274ec',
    950: '#000000',
  },
}
SCSS
$custom: #7274ec;
$custom-light: #a39cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#7274ec",
  "rgb": {
    "r": 114,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 239.016,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.61725,
    "c": 0.1766,
    "h": 279.2
  },
  "luminance": 0.22124
}

Semantic roles & 50–950 ramp

primary
#7274EC
secondary
#EFEFCB
accent
#D50DD8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7274EC

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

Preview Lab → · Contrast checker → · Palette generator →

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