#798EF2#798EF2

#798EF2 is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.5% C 0.149 H 272.9°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#798EF2
RGBrgb(121, 142, 242)
HSLhsl(230, 82%, 71%)
HSVhsv(230, 50%, 95%)
CMYKcmyk(50%, 41.3%, 0%, 5.1%)
CIE-LABlab(61.50, 19.42, -52.66)
CIE-LCHlch(61.50, 56.13, 290.25°)
OKLaboklab(67.53% 0.0074 -0.1492)
OKLCHoklch(67.53% 0.149 272.9)
XYZxyz(33.5801, 29.8196, 87.9735)
Luminance0.2982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EF2 #F2DD79
analogous
#79CAF2 #798EF2 #A079F2
triadic
#798EF2 #F2798E #8EF279
tetradic
#798EF2 #F279CA #F2DD79 #79F2A0
square
#798EF2 #F279CA #F2DD79 #79F2A0
split-complementary
#798EF2 #F2A079 #CAF279
monochromatic
#1538DB #415FED #798EF2 #B1BDF7 #E3E7FC

Accessibility & contrast

On white

3.02
#798EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#798EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798EF2
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EF2#FFFFFF#000000##000000
##798EF21.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#669AF6
Deuteranopia (green-blind)
#5990F0
Tritanopia (blue-blind)
#46A3B4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #798ef2;
/* rgb */ color: rgb(121, 142, 242);
/* oklch */ color: oklch(67.5% 0.149 272.9);
Tailwind
colors: {
  custom: {
    50: '#a6aef7',
    500: '#798ef2',
    950: '#000000',
  },
}
SCSS
$custom: #798ef2;
$custom-light: #a6aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#798ef2",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 229.587,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67525,
    "c": 0.14943,
    "h": 272.9
  },
  "luminance": 0.29822
}

Semantic roles & 50–950 ramp

primary
#798EF2
secondary
#F3EED3
accent
#B907DF
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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