#798CF8#798CF8

#798CF8 is a light, vivid blue. Relative luminance 0.296; OKLCH L 67.5% C 0.160 H 273.8°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#798CF8
RGBrgb(121, 140, 248)
HSLhsl(231, 90%, 72%)
HSVhsv(231, 51%, 97%)
CMYKcmyk(51.2%, 43.5%, 0%, 2.7%)
CIE-LABlab(61.30, 22.43, -56.27)
CIE-LCHlch(61.30, 60.58, 291.73°)
OKLaboklab(67.48% 0.0107 -0.1598)
OKLCHoklch(67.48% 0.16 273.8)
XYZxyz(34.2011, 29.5962, 92.6992)
Luminance0.2960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CF8 #F8E579
analogous
#79CBF8 #798CF8 #A679F8
triadic
#798CF8 #F8798C #8CF879
tetradic
#798CF8 #F879CB #F8E579 #79F8A6
square
#798CF8 #F879CB #F8E579 #79F8A6
split-complementary
#798CF8 #F8A679 #CBF879
monochromatic
#0C2DEA #3F5AF5 #798CF8 #B3BEFB #E2E6FD

Accessibility & contrast

On white

3.03
#798CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#798CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CF8
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CF8#FFFFFF#000000##000000
##798CF81.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9AFC
Deuteranopia (green-blind)
#518FF6
Tritanopia (blue-blind)
#41A3B6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #798cf8;
/* rgb */ color: rgb(121, 140, 248);
/* oklch */ color: oklch(67.5% 0.160 273.8);
Tailwind
colors: {
  custom: {
    50: '#a7adfb',
    500: '#798cf8',
    950: '#000000',
  },
}
SCSS
$custom: #798cf8;
$custom-light: #a7adfb;
$custom-dark: #000000;
JSON
{
  "hex": "#798cf8",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 231.024,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.6748,
    "c": 0.1602,
    "h": 273.8
  },
  "luminance": 0.29598
}

Semantic roles & 50–950 ramp

primary
#798CF8
secondary
#F6F1D5
accent
#C300E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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