#798FFC#798FFC

#798FFC is a light, vivid blue. Relative luminance 0.307; OKLCH L 68.3% C 0.162 H 272.8°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#798FFC
RGBrgb(121, 143, 252)
HSLhsl(230, 96%, 73%)
HSVhsv(230, 52%, 99%)
CMYKcmyk(52%, 43.3%, 0%, 1.2%)
CIE-LABlab(62.28, 21.88, -56.91)
CIE-LCHlch(62.28, 60.97, 291.03°)
OKLaboklab(68.3% 0.008 -0.1617)
OKLCHoklch(68.3% 0.162 272.8)
XYZxyz(35.2726, 30.7358, 96.1505)
Luminance0.3074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FFC #FCE679
analogous
#79D0FC #798FFC #A479FC
triadic
#798FFC #FC798F #8FFC79
tetradic
#798FFC #FC79D0 #FCE679 #79FCA4
square
#798FFC #FC79D0 #FCE679 #79FCA4
split-complementary
#798FFC #FCA479 #D0FC79
monochromatic
#052EF5 #3D5DFB #798FFC #B5C1FD #E1E6FE

Accessibility & contrast

On white

2.94
#798FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#798FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #798FFC
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FFC#FFFFFF#000000##000000
##798FFC1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#619CFF
Deuteranopia (green-blind)
#5291FA
Tritanopia (blue-blind)
#3CA7B9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #798ffc;
/* rgb */ color: rgb(121, 143, 252);
/* oklch */ color: oklch(68.3% 0.162 272.8);
Tailwind
colors: {
  custom: {
    50: '#a7affe',
    500: '#798ffc',
    950: '#000000',
  },
}
SCSS
$custom: #798ffc;
$custom-light: #a7affe;
$custom-dark: #000000;
JSON
{
  "hex": "#798ffc",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 252
  },
  "hsl": {
    "h": 229.924,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68298,
    "c": 0.16188,
    "h": 272.8
  },
  "luminance": 0.30738
}

Semantic roles & 50–950 ramp

primary
#798FFC
secondary
#F7F1D4
accent
#BF00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #798FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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