#7274E8#7274E8

#7274E8 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.5% C 0.171 H 279.4°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7274E8
RGBrgb(114, 116, 232)
HSLhsl(239, 72%, 68%)
HSVhsv(239, 51%, 91%)
CMYKcmyk(50.9%, 50%, 0%, 9%)
CIE-LABlab(53.91, 30.33, -59.25)
CIE-LCHlch(53.91, 66.56, 297.11°)
OKLaboklab(61.46% 0.0278 -0.1689)
OKLCHoklch(61.46% 0.171 279.4)
XYZxyz(27.7458, 21.8928, 79.0920)
Luminance0.2189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7274E8 #E8E672
analogous
#72AFE8 #7274E8 #AB72E8
triadic
#7274E8 #E87274 #74E872
tetradic
#7274E8 #E872AF #E8E672 #72E8AB
square
#7274E8 #E872AF #E8E672 #72E8AB
split-complementary
#7274E8 #E8AB72 #AFE872
monochromatic
#1F22C0 #3D40DF #7274E8 #A7A8F1 #DBDCF9

Accessibility & contrast

On white

3.90
#7274E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#7274E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7274E8
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7274E8#FFFFFF#000000##000000
##7274E81.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B86EC
Deuteranopia (green-blind)
#2F7CE5
Tritanopia (blue-blind)
#418EA3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7274e8;
/* rgb */ color: rgb(114, 116, 232);
/* oklch */ color: oklch(61.5% 0.171 279.4);
Tailwind
colors: {
  custom: {
    50: '#a29cf0',
    500: '#7274e8',
    950: '#000000',
  },
}
SCSS
$custom: #7274e8;
$custom-light: #a29cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#7274e8",
  "rgb": {
    "r": 114,
    "g": 116,
    "b": 232
  },
  "hsl": {
    "h": 238.983,
    "s": 71.951,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61463,
    "c": 0.1712,
    "h": 279.4
  },
  "luminance": 0.21894
}

Semantic roles & 50–950 ramp

primary
#7274E8
secondary
#EDECC9
accent
#D111D4
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7274E8

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

Preview Lab → · Contrast checker → · Palette generator →

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