#797DDF#797DDF

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

Color values

HEX#797DDF
RGBrgb(121, 125, 223)
HSLhsl(238, 61%, 67%)
HSVhsv(238, 46%, 87%)
CMYKcmyk(45.7%, 43.9%, 0%, 12.5%)
CIE-LABlab(56.15, 23.82, -50.61)
CIE-LCHlch(56.15, 55.93, 295.21°)
OKLaboklab(63.11% 0.0243 -0.1433)
OKLCHoklch(63.11% 0.145 279.6)
XYZxyz(28.5340, 24.0585, 72.9380)
Luminance0.2406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797DDF #DFDB79
analogous
#79B0DF #797DDF #A879DF
triadic
#797DDF #DF797D #7DDF79
tetradic
#797DDF #DF79B0 #DFDB79 #79DFA8
square
#797DDF #DF79B0 #DFDB79 #79DFA8
split-complementary
#797DDF #DFA879 #B0DF79
monochromatic
#2B30B3 #484DD3 #797DDF #AAADEB #DCDDF7

Accessibility & contrast

On white

3.61
#797DDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#797DDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797DDF
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797DDF#FFFFFF#000000##000000
##797DDF1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#568BE3
Deuteranopia (green-blind)
#4F83DD
Tritanopia (blue-blind)
#5691A3
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #797ddf;
/* rgb */ color: rgb(121, 125, 223);
/* oklch */ color: oklch(63.1% 0.145 279.6);
Tailwind
colors: {
  custom: {
    50: '#a5a2e9',
    500: '#797ddf',
    950: '#000000',
  },
}
SCSS
$custom: #797ddf;
$custom-light: #a5a2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#797ddf",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 223
  },
  "hsl": {
    "h": 237.647,
    "s": 61.446,
    "l": 67.451
  },
  "oklch": {
    "l": 0.63114,
    "c": 0.14538,
    "h": 279.6
  },
  "luminance": 0.2406
}

Semantic roles & 50–950 ramp

primary
#797DDF
secondary
#EAE9CA
accent
#C21CC9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100F16
muted
#7F7E84

Preview Lab

Preview with #797DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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