#797DDE#797DDE

#797DDE is a light, vivid blue. Relative luminance 0.240; OKLCH L 63.1% C 0.144 H 279.6°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#797DDE
RGBrgb(121, 125, 222)
HSLhsl(238, 60%, 67%)
HSVhsv(238, 45%, 87%)
CMYKcmyk(45.5%, 43.7%, 0%, 12.9%)
CIE-LABlab(56.09, 23.52, -50.13)
CIE-LCHlch(56.09, 55.38, 295.14°)
OKLaboklab(63.06% 0.0241 -0.1419)
OKLCHoklch(63.06% 0.144 279.6)
XYZxyz(28.3996, 24.0047, 72.2300)
Luminance0.2401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797DDE #DEDA79
analogous
#79AFDE #797DDE #A879DE
triadic
#797DDE #DE797D #7DDE79
tetradic
#797DDE #DE79AF #DEDA79 #79DEA8
square
#797DDE #DE79AF #DEDA79 #79DEA8
split-complementary
#797DDE #DEA879 #AFDE79
monochromatic
#2C31B1 #484DD2 #797DDE #AAADEA #DBDCF6

Accessibility & contrast

On white

3.62
#797DDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#797DDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797DDE
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797DDE#FFFFFF#000000##000000
##797DDE1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#578AE2
Deuteranopia (green-blind)
#5083DC
Tritanopia (blue-blind)
#5691A3
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #797dde;
/* rgb */ color: rgb(121, 125, 222);
/* oklch */ color: oklch(63.1% 0.144 279.6);
Tailwind
colors: {
  custom: {
    50: '#a5a2e9',
    500: '#797dde',
    950: '#000000',
  },
}
SCSS
$custom: #797dde;
$custom-light: #a5a2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#797dde",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 222
  },
  "hsl": {
    "h": 237.624,
    "s": 60.479,
    "l": 67.255
  },
  "oklch": {
    "l": 0.63055,
    "c": 0.14398,
    "h": 279.6
  },
  "luminance": 0.24006
}

Semantic roles & 50–950 ramp

primary
#797DDE
secondary
#E9E8C9
accent
#C11DC8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100F16
muted
#7F7E84

Preview Lab

Preview with #797DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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