#797FDF#797FDF

#797FDF is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.5% C 0.143 H 278.8°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#797FDF
RGBrgb(121, 127, 223)
HSLhsl(236, 61%, 67%)
HSVhsv(236, 46%, 87%)
CMYKcmyk(45.7%, 43%, 0%, 12.5%)
CIE-LABlab(56.65, 22.63, -49.80)
CIE-LCHlch(56.65, 54.70, 294.44°)
OKLaboklab(63.5% 0.0218 -0.141)
OKLCHoklch(63.5% 0.143 278.8)
XYZxyz(28.7898, 24.5699, 73.0232)
Luminance0.2457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797FDF #DFD979
analogous
#79B2DF #797FDF #A679DF
triadic
#797FDF #DF797F #7FDF79
tetradic
#797FDF #DF79B2 #DFD979 #79DFA6
square
#797FDF #DF79B2 #DFD979 #79DFA6
split-complementary
#797FDF #DFA679 #B2DF79
monochromatic
#2B33B3 #4850D3 #797FDF #AAAEEB #DCDDF7

Accessibility & contrast

On white

3.55
#797FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#797FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797FDF
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797FDF#FFFFFF#000000##000000
##797FDF1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8CE3
Deuteranopia (green-blind)
#5284DD
Tritanopia (blue-blind)
#5593A4
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #797fdf;
/* rgb */ color: rgb(121, 127, 223);
/* oklch */ color: oklch(63.5% 0.143 278.8);
Tailwind
colors: {
  custom: {
    50: '#a5a4e9',
    500: '#797fdf',
    950: '#000000',
  },
}
SCSS
$custom: #797fdf;
$custom-light: #a5a4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#797fdf",
  "rgb": {
    "r": 121,
    "g": 127,
    "b": 223
  },
  "hsl": {
    "h": 236.471,
    "s": 61.446,
    "l": 67.451
  },
  "oklch": {
    "l": 0.635,
    "c": 0.14265,
    "h": 278.8
  },
  "luminance": 0.24571
}

Semantic roles & 50–950 ramp

primary
#797FDF
secondary
#EAE8CA
accent
#BF1CC9
background
#FAFAFE
surface
#F4F3FD
border
#CECDD5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #797FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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