#798BDF#798BDF

#798BDF is a light, vivid blue. Relative luminance 0.279; OKLCH L 65.9% C 0.127 H 273.3°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#798BDF
RGBrgb(121, 139, 223)
HSLhsl(229, 61%, 67%)
HSVhsv(229, 46%, 87%)
CMYKcmyk(45.7%, 37.7%, 0%, 12.5%)
CIE-LABlab(59.76, 15.52, -44.88)
CIE-LCHlch(59.76, 47.49, 289.07°)
OKLaboklab(65.88% 0.0073 -0.1265)
OKLCHoklch(65.88% 0.127 273.3)
XYZxyz(30.4329, 27.8562, 73.5709)
Luminance0.2786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BDF #DFCD79
analogous
#79BEDF #798BDF #9A79DF
triadic
#798BDF #DF798B #8BDF79
tetradic
#798BDF #DF79BE #DFCD79 #79DF9A
square
#798BDF #DF79BE #DFCD79 #79DF9A
split-complementary
#798BDF #DF9A79 #BEDF79
monochromatic
#2B43B3 #4860D3 #798BDF #AAB6EB #DCE1F7

Accessibility & contrast

On white

3.20
#798BDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#798BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BDF
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BDF#FFFFFF#000000##000000
##798BDF1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C94E2
Deuteranopia (green-blind)
#638CDD
Tritanopia (blue-blind)
#549CAA
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #798bdf;
/* rgb */ color: rgb(121, 139, 223);
/* oklch */ color: oklch(65.9% 0.127 273.3);
Tailwind
colors: {
  custom: {
    50: '#a4ace9',
    500: '#798bdf',
    950: '#000000',
  },
}
SCSS
$custom: #798bdf;
$custom-light: #a4ace9;
$custom-dark: #000000;
JSON
{
  "hex": "#798bdf",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 223
  },
  "hsl": {
    "h": 229.412,
    "s": 61.446,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65876,
    "c": 0.12675,
    "h": 273.3
  },
  "luminance": 0.27858
}

Semantic roles & 50–950 ramp

primary
#798BDF
secondary
#EAE4CA
accent
#AB1CC9
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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