#798DF2#798DF2

#798DF2 is a light, vivid blue. Relative luminance 0.295; OKLCH L 67.3% C 0.151 H 273.3°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#798DF2
RGBrgb(121, 141, 242)
HSLhsl(230, 82%, 71%)
HSVhsv(230, 50%, 95%)
CMYKcmyk(50%, 41.7%, 0%, 5.1%)
CIE-LABlab(61.24, 20.01, -53.07)
CIE-LCHlch(61.24, 56.72, 290.66°)
OKLaboklab(67.33% 0.0086 -0.1504)
OKLCHoklch(67.33% 0.151 273.3)
XYZxyz(33.4319, 29.5234, 87.9241)
Luminance0.2953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DF2 #F2DE79
analogous
#79C9F2 #798DF2 #A179F2
triadic
#798DF2 #F2798D #8DF279
tetradic
#798DF2 #F279C9 #F2DE79 #79F2A1
square
#798DF2 #F279C9 #F2DE79 #79F2A1
split-complementary
#798DF2 #F2A179 #C9F279
monochromatic
#1536DB #415EED #798DF2 #B1BCF7 #E3E7FC

Accessibility & contrast

On white

3.04
#798DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#798DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DF2
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DF2#FFFFFF#000000##000000
##798DF21.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6499F6
Deuteranopia (green-blind)
#588FF0
Tritanopia (blue-blind)
#46A3B4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #798df2;
/* rgb */ color: rgb(121, 141, 242);
/* oklch */ color: oklch(67.3% 0.151 273.3);
Tailwind
colors: {
  custom: {
    50: '#a6aef7',
    500: '#798df2',
    950: '#000000',
  },
}
SCSS
$custom: #798df2;
$custom-light: #a6aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#798df2",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 230.083,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67328,
    "c": 0.15069,
    "h": 273.3
  },
  "luminance": 0.29526
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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