#798FEF#798FEF

#798FEF is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.6% C 0.144 H 272.3°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#798FEF
RGBrgb(121, 143, 239)
HSLhsl(229, 79%, 71%)
HSVhsv(229, 49%, 94%)
CMYKcmyk(49.4%, 40.2%, 0%, 6.3%)
CIE-LABlab(61.60, 17.93, -50.84)
CIE-LCHlch(61.60, 53.91, 289.43°)
OKLaboklab(67.55% 0.0058 -0.1439)
OKLCHoklch(67.55% 0.144 272.3)
XYZxyz(33.2826, 29.9398, 85.6698)
Luminance0.2994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FEF #EFD979
analogous
#79CAEF #798FEF #9E79EF
triadic
#798FEF #EF798F #8FEF79
tetradic
#798FEF #EF79CA #EFD979 #79EF9E
square
#798FEF #EF79CA #EFD979 #79EF9E
split-complementary
#798FEF #EF9E79 #CAEF79
monochromatic
#193CD4 #4261E8 #798FEF #B0BDF6 #E4E8FC

Accessibility & contrast

On white

3.00
#798FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#798FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FEF
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FEF#FFFFFF#000000##000000
##798FEF1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#699AF3
Deuteranopia (green-blind)
#5D90ED
Tritanopia (blue-blind)
#48A3B3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #798fef;
/* rgb */ color: rgb(121, 143, 239);
/* oklch */ color: oklch(67.6% 0.144 272.3);
Tailwind
colors: {
  custom: {
    50: '#a6aff5',
    500: '#798fef',
    950: '#000000',
  },
}
SCSS
$custom: #798fef;
$custom-light: #a6aff5;
$custom-dark: #000000;
JSON
{
  "hex": "#798fef",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 239
  },
  "hsl": {
    "h": 228.814,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67554,
    "c": 0.14402,
    "h": 272.3
  },
  "luminance": 0.29942
}

Semantic roles & 50–950 ramp

primary
#798FEF
secondary
#F2ECD2
accent
#B40BDB
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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