#798BED#798BED

#798BED is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.6% C 0.146 H 273.9°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#798BED
RGBrgb(121, 139, 237)
HSLhsl(231, 76%, 70%)
HSVhsv(231, 49%, 93%)
CMYKcmyk(48.9%, 41.4%, 0%, 7.1%)
CIE-LABlab(60.47, 19.68, -51.54)
CIE-LCHlch(60.47, 55.17, 290.90°)
OKLaboklab(66.65% 0.01 -0.146)
OKLCHoklch(66.65% 0.146 273.9)
XYZxyz(32.3990, 28.6427, 83.9257)
Luminance0.2864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BED #EDDB79
analogous
#79C5ED #798BED #A179ED
triadic
#798BED #ED798B #8BED79
tetradic
#798BED #ED79C5 #EDDB79 #79EDA1
square
#798BED #ED79C5 #EDDB79 #79EDA1
split-complementary
#798BED #EDA179 #C5ED79
monochromatic
#1C38D0 #435CE6 #798BED #AFBAF4 #E4E8FB

Accessibility & contrast

On white

3.12
#798BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#798BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BED
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BED#FFFFFF#000000##000000
##798BED1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6497F1
Deuteranopia (green-blind)
#598DEB
Tritanopia (blue-blind)
#4AA0B0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #798bed;
/* rgb */ color: rgb(121, 139, 237);
/* oklch */ color: oklch(66.6% 0.146 273.9);
Tailwind
colors: {
  custom: {
    50: '#a6acf3',
    500: '#798bed',
    950: '#000000',
  },
}
SCSS
$custom: #798bed;
$custom-light: #a6acf3;
$custom-dark: #000000;
JSON
{
  "hex": "#798bed",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 237
  },
  "hsl": {
    "h": 230.69,
    "s": 76.316,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66649,
    "c": 0.14633,
    "h": 273.9
  },
  "luminance": 0.28645
}

Semantic roles & 50–950 ramp

primary
#798BED
secondary
#F1ECD1
accent
#B90DD9
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798BED

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

Preview Lab → · Contrast checker → · Palette generator →

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