#797DE5#797DE5

#797DE5 is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.5% C 0.154 H 279.4°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#797DE5
RGBrgb(121, 125, 229)
HSLhsl(238, 68%, 69%)
HSVhsv(238, 47%, 90%)
CMYKcmyk(47.2%, 45.4%, 0%, 10.2%)
CIE-LABlab(56.47, 25.60, -53.44)
CIE-LCHlch(56.47, 59.26, 295.59°)
OKLaboklab(63.47% 0.0251 -0.1516)
OKLCHoklch(63.47% 0.154 279.4)
XYZxyz(29.3573, 24.3878, 77.2740)
Luminance0.2439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797DE5 #E5E179
analogous
#79B3E5 #797DE5 #AB79E5
triadic
#797DE5 #E5797D #7DE579
tetradic
#797DE5 #E579B3 #E5E179 #79E5AB
square
#797DE5 #E579B3 #E5E179 #79E5AB
split-complementary
#797DE5 #E5AB79 #B3E579
monochromatic
#252BBF #464BDB #797DE5 #ACAFEF #E0E0F9

Accessibility & contrast

On white

3.57
#797DE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#797DE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797DE5
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797DE5#FFFFFF#000000##000000
##797DE51.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#528CE9
Deuteranopia (green-blind)
#4A83E3
Tritanopia (blue-blind)
#5293A6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #797de5;
/* rgb */ color: rgb(121, 125, 229);
/* oklch */ color: oklch(63.5% 0.154 279.4);
Tailwind
colors: {
  custom: {
    50: '#a5a2ee',
    500: '#797de5',
    950: '#000000',
  },
}
SCSS
$custom: #797de5;
$custom-light: #a5a2ee;
$custom-dark: #000000;
JSON
{
  "hex": "#797de5",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 229
  },
  "hsl": {
    "h": 237.778,
    "s": 67.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.63469,
    "c": 0.15371,
    "h": 279.4
  },
  "luminance": 0.24389
}

Semantic roles & 50–950 ramp

primary
#797DE5
secondary
#EDECCD
accent
#C916CF
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100F16
muted
#7F7E84

Preview Lab

Preview with #797DE5

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

Preview Lab → · Contrast checker → · Palette generator →

#797DE5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva