#797BDC#797BDC

#797BDC is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.6% C 0.144 H 280.5°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#797BDC
RGBrgb(121, 123, 220)
HSLhsl(239, 59%, 67%)
HSVhsv(239, 45%, 86%)
CMYKcmyk(45%, 44.1%, 0%, 13.7%)
CIE-LABlab(55.48, 24.13, -49.98)
CIE-LCHlch(55.48, 55.50, 295.77°)
OKLaboklab(62.55% 0.0262 -0.1415)
OKLCHoklch(62.55% 0.144 280.5)
XYZxyz(27.8825, 23.3968, 70.7431)
Luminance0.2340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797BDC #DCDA79
analogous
#79ADDC #797BDC #A979DC
triadic
#797BDC #DC797B #7BDC79
tetradic
#797BDC #DC79AD #DCDA79 #79DCA9
square
#797BDC #DC79AD #DCDA79 #79DCA9
split-complementary
#797BDC #DCA979 #ADDC79
monochromatic
#2D30AD #484BCF #797BDC #AAABE9 #DADBF5

Accessibility & contrast

On white

3.70
#797BDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#797BDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797BDC
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797BDC#FFFFFF#000000##000000
##797BDC1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5589E0
Deuteranopia (green-blind)
#4F81DA
Tritanopia (blue-blind)
#588FA1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #797bdc;
/* rgb */ color: rgb(121, 123, 220);
/* oklch */ color: oklch(62.6% 0.144 280.5);
Tailwind
colors: {
  custom: {
    50: '#a5a1e7',
    500: '#797bdc',
    950: '#000000',
  },
}
SCSS
$custom: #797bdc;
$custom-light: #a5a1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#797bdc",
  "rgb": {
    "r": 121,
    "g": 123,
    "b": 220
  },
  "hsl": {
    "h": 238.788,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.62554,
    "c": 0.14394,
    "h": 280.5
  },
  "luminance": 0.23398
}

Semantic roles & 50–950 ramp

primary
#797BDC
secondary
#E8E8C9
accent
#C31FC6
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #797BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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