#7274EB#7274EB

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

Color values

HEX#7274EB
RGBrgb(114, 116, 235)
HSLhsl(239, 75%, 68%)
HSVhsv(239, 51%, 92%)
CMYKcmyk(51.5%, 50.6%, 0%, 7.8%)
CIE-LABlab(54.10, 31.25, -60.63)
CIE-LCHlch(54.10, 68.21, 297.27°)
OKLaboklab(61.66% 0.0281 -0.173)
OKLCHoklch(61.66% 0.175 279.2)
XYZxyz(28.1756, 22.0647, 81.3554)
Luminance0.2207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7274EB #EBE972
analogous
#72B0EB #7274EB #AC72EB
triadic
#7274EB #EB7274 #74EB72
tetradic
#7274EB #EB72B0 #EBE972 #72EBAC
square
#7274EB #EB72B0 #EBE972 #72EBAC
split-complementary
#7274EB #EBAC72 #B0EB72
monochromatic
#1C1FC6 #3C3FE3 #7274EB #A8A9F3 #DDDEFA

Accessibility & contrast

On white

3.88
#7274EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#7274EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7274EB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7274EB#FFFFFF#000000##000000
##7274EB1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3886EF
Deuteranopia (green-blind)
#2A7DE8
Tritanopia (blue-blind)
#3F8EA5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7274eb;
/* rgb */ color: rgb(114, 116, 235);
/* oklch */ color: oklch(61.7% 0.175 279.2);
Tailwind
colors: {
  custom: {
    50: '#a29cf2',
    500: '#7274eb',
    950: '#000000',
  },
}
SCSS
$custom: #7274eb;
$custom-light: #a29cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7274eb",
  "rgb": {
    "r": 114,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 239.008,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61659,
    "c": 0.17525,
    "h": 279.2
  },
  "luminance": 0.22066
}

Semantic roles & 50–950 ramp

primary
#7274EB
secondary
#EFEECA
accent
#D40ED7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7274EB

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

Preview Lab → · Contrast checker → · Palette generator →

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