#797BED#797BED

#797BED is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.6% C 0.167 H 279.8°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#797BED
RGBrgb(121, 123, 237)
HSLhsl(239, 76%, 70%)
HSVhsv(239, 49%, 93%)
CMYKcmyk(48.9%, 48.1%, 0%, 7.1%)
CIE-LABlab(56.43, 29.17, -57.97)
CIE-LCHlch(56.43, 64.90, 296.71°)
OKLaboklab(63.58% 0.0284 -0.165)
OKLCHoklch(63.58% 0.167 279.8)
XYZxyz(30.2495, 24.3436, 83.2092)
Luminance0.2434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797BED #EDEB79
analogous
#79B5ED #797BED #B179ED
triadic
#797BED #ED797B #7BED79
tetradic
#797BED #ED79B5 #EDEB79 #79EDB1
square
#797BED #ED79B5 #EDEB79 #79EDB1
split-complementary
#797BED #EDB179 #B5ED79
monochromatic
#1C1FD0 #4346E6 #797BED #AFB0F4 #E4E4FB

Accessibility & contrast

On white

3.58
#797BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#797BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797BED
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797BED#FFFFFF#000000##000000
##797BED1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#488CF1
Deuteranopia (green-blind)
#3E83EA
Tritanopia (blue-blind)
#4D94A9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #797bed;
/* rgb */ color: rgb(121, 123, 237);
/* oklch */ color: oklch(63.6% 0.167 279.8);
Tailwind
colors: {
  custom: {
    50: '#a6a1f3',
    500: '#797bed',
    950: '#000000',
  },
}
SCSS
$custom: #797bed;
$custom-light: #a6a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#797bed",
  "rgb": {
    "r": 121,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 238.966,
    "s": 76.316,
    "l": 70.196
  },
  "oklch": {
    "l": 0.63582,
    "c": 0.16738,
    "h": 279.8
  },
  "luminance": 0.24345
}

Semantic roles & 50–950 ramp

primary
#797BED
secondary
#F1F0D1
accent
#D50DD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #797BED

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

Preview Lab → · Contrast checker → · Palette generator →

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