#798DF1#798DF1

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

Color values

HEX#798DF1
RGBrgb(121, 141, 241)
HSLhsl(230, 81%, 71%)
HSVhsv(230, 50%, 95%)
CMYKcmyk(49.8%, 41.5%, 0%, 5.5%)
CIE-LABlab(61.19, 19.71, -52.60)
CIE-LCHlch(61.19, 56.17, 290.54°)
OKLaboklab(67.27% 0.0084 -0.1491)
OKLCHoklch(67.27% 0.149 273.2)
XYZxyz(33.2822, 29.4635, 87.1353)
Luminance0.2947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DF1 #F1DD79
analogous
#79C9F1 #798DF1 #A179F1
triadic
#798DF1 #F1798D #8DF179
tetradic
#798DF1 #F179C9 #F1DD79 #79F1A1
square
#798DF1 #F179C9 #F1DD79 #79F1A1
split-complementary
#798DF1 #F1A179 #C9F179
monochromatic
#1737D9 #425EEB #798DF1 #B0BCF7 #E3E7FC

Accessibility & contrast

On white

3.05
#798DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#798DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DF1
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DF1#FFFFFF#000000##000000
##798DF11.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6599F5
Deuteranopia (green-blind)
#598FEF
Tritanopia (blue-blind)
#47A2B3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #798df1;
/* rgb */ color: rgb(121, 141, 241);
/* oklch */ color: oklch(67.3% 0.149 273.2);
Tailwind
colors: {
  custom: {
    50: '#a6aef6',
    500: '#798df1',
    950: '#000000',
  },
}
SCSS
$custom: #798df1;
$custom-light: #a6aef6;
$custom-dark: #000000;
JSON
{
  "hex": "#798df1",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 241
  },
  "hsl": {
    "h": 230,
    "s": 81.081,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67271,
    "c": 0.14932,
    "h": 273.2
  },
  "luminance": 0.29466
}

Semantic roles & 50–950 ramp

primary
#798DF1
secondary
#F3EED3
accent
#BA08DD
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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