#798BFC#798BFC

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

Color values

HEX#798BFC
RGBrgb(121, 139, 252)
HSLhsl(232, 96%, 73%)
HSVhsv(232, 52%, 99%)
CMYKcmyk(52%, 44.8%, 0%, 1.2%)
CIE-LABlab(61.27, 24.24, -58.52)
CIE-LCHlch(61.27, 63.35, 292.50°)
OKLaboklab(67.52% 0.0124 -0.1665)
OKLCHoklch(67.52% 0.167 274.3)
XYZxyz(34.6828, 29.5562, 95.9539)
Luminance0.2956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BFC #FCEA79
analogous
#79CCFC #798BFC #A879FC
triadic
#798BFC #FC798B #8BFC79
tetradic
#798BFC #FC79CC #FCEA79 #79FCA8
square
#798BFC #FC79CC #FCEA79 #79FCA8
split-complementary
#798BFC #FCA879 #CCFC79
monochromatic
#0526F5 #3D57FB #798BFC #B5BFFD #E1E5FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798BFC#FFFFFF#000000##000000
##798BFC1.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)
#5A9AFF
Deuteranopia (green-blind)
#4B8FFA
Tritanopia (blue-blind)
#3DA4B7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #798bfc;
/* rgb */ color: rgb(121, 139, 252);
/* oklch */ color: oklch(67.5% 0.167 274.3);
Tailwind
colors: {
  custom: {
    50: '#a8acfe',
    500: '#798bfc',
    950: '#000000',
  },
}
SCSS
$custom: #798bfc;
$custom-light: #a8acfe;
$custom-dark: #000000;
JSON
{
  "hex": "#798bfc",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 252
  },
  "hsl": {
    "h": 231.756,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67524,
    "c": 0.16692,
    "h": 274.3
  },
  "luminance": 0.29558
}

Semantic roles & 50–950 ramp

primary
#798BFC
secondary
#F7F2D4
accent
#C600E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #798BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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