#798CF2#798CF2

#798CF2 is a light, vivid blue. Relative luminance 0.292; OKLCH L 67.1% C 0.152 H 273.7°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#798CF2
RGBrgb(121, 140, 242)
HSLhsl(231, 82%, 71%)
HSVhsv(231, 50%, 95%)
CMYKcmyk(50%, 42.1%, 0%, 5.1%)
CIE-LABlab(60.98, 20.60, -53.48)
CIE-LCHlch(60.98, 57.31, 291.07°)
OKLaboklab(67.13% 0.0097 -0.1516)
OKLCHoklch(67.13% 0.152 273.7)
XYZxyz(33.2852, 29.2298, 87.8752)
Luminance0.2923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CF2 #F2DF79
analogous
#79C8F2 #798CF2 #A279F2
triadic
#798CF2 #F2798C #8CF279
tetradic
#798CF2 #F279C8 #F2DF79 #79F2A2
square
#798CF2 #F279C8 #F2DF79 #79F2A2
split-complementary
#798CF2 #F2A279 #C8F279
monochromatic
#1534DB #415CED #798CF2 #B1BCF7 #E3E7FC

Accessibility & contrast

On white

3.07
#798CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#798CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CF2
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CF2#FFFFFF#000000##000000
##798CF21.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6298F6
Deuteranopia (green-blind)
#568EF0
Tritanopia (blue-blind)
#46A2B3
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #798cf2;
/* rgb */ color: rgb(121, 140, 242);
/* oklch */ color: oklch(67.1% 0.152 273.7);
Tailwind
colors: {
  custom: {
    50: '#a6adf7',
    500: '#798cf2',
    950: '#000000',
  },
}
SCSS
$custom: #798cf2;
$custom-light: #a6adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#798cf2",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 230.579,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67131,
    "c": 0.15196,
    "h": 273.7
  },
  "luminance": 0.29232
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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