#797BDE#797BDE

#797BDE is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.7% C 0.147 H 280.4°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#797BDE
RGBrgb(121, 123, 222)
HSLhsl(239, 60%, 67%)
HSVhsv(239, 45%, 87%)
CMYKcmyk(45.5%, 44.6%, 0%, 12.9%)
CIE-LABlab(55.59, 24.72, -50.93)
CIE-LCHlch(55.59, 56.61, 295.89°)
OKLaboklab(62.67% 0.0265 -0.1443)
OKLCHoklch(62.67% 0.147 280.4)
XYZxyz(28.1490, 23.5034, 72.1465)
Luminance0.2351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797BDE #DEDC79
analogous
#79AEDE #797BDE #AA79DE
triadic
#797BDE #DE797B #7BDE79
tetradic
#797BDE #DE79AE #DEDC79 #79DEAA
square
#797BDE #DE79AE #DEDC79 #79DEAA
split-complementary
#797BDE #DEAA79 #AEDE79
monochromatic
#2C2EB1 #484BD2 #797BDE #AAABEA #DBDCF6

Accessibility & contrast

On white

3.68
#797BDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#797BDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797BDE
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797BDE#FFFFFF#000000##000000
##797BDE1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5489E2
Deuteranopia (green-blind)
#4D82DC
Tritanopia (blue-blind)
#5790A2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #797bde;
/* rgb */ color: rgb(121, 123, 222);
/* oklch */ color: oklch(62.7% 0.147 280.4);
Tailwind
colors: {
  custom: {
    50: '#a5a1e9',
    500: '#797bde',
    950: '#000000',
  },
}
SCSS
$custom: #797bde;
$custom-light: #a5a1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#797bde",
  "rgb": {
    "r": 121,
    "g": 123,
    "b": 222
  },
  "hsl": {
    "h": 238.812,
    "s": 60.479,
    "l": 67.255
  },
  "oklch": {
    "l": 0.62671,
    "c": 0.14672,
    "h": 280.4
  },
  "luminance": 0.23505
}

Semantic roles & 50–950 ramp

primary
#797BDE
secondary
#E9E9C9
accent
#C51DC8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #797BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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