#798EF1#798EF1

#798EF1 is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.5% C 0.148 H 272.8°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#798EF1
RGBrgb(121, 142, 241)
HSLhsl(230, 81%, 71%)
HSVhsv(230, 50%, 95%)
CMYKcmyk(49.8%, 41.1%, 0%, 5.5%)
CIE-LABlab(61.45, 19.12, -52.19)
CIE-LCHlch(61.45, 55.58, 290.12°)
OKLaboklab(67.47% 0.0073 -0.1479)
OKLCHoklch(67.47% 0.148 272.8)
XYZxyz(33.4303, 29.7597, 87.1847)
Luminance0.2976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EF1 #F1DC79
analogous
#79CAF1 #798EF1 #A079F1
triadic
#798EF1 #F1798E #8EF179
tetradic
#798EF1 #F179CA #F1DC79 #79F1A0
square
#798EF1 #F179CA #F1DC79 #79F1A0
split-complementary
#798EF1 #F1A079 #CAF179
monochromatic
#1739D9 #425FEB #798EF1 #B0BDF7 #E3E8FC

Accessibility & contrast

On white

3.02
#798EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#798EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798EF1
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EF1#FFFFFF#000000##000000
##798EF11.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#669AF5
Deuteranopia (green-blind)
#5A90EF
Tritanopia (blue-blind)
#46A3B4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #798ef1;
/* rgb */ color: rgb(121, 142, 241);
/* oklch */ color: oklch(67.5% 0.148 272.8);
Tailwind
colors: {
  custom: {
    50: '#a6aef6',
    500: '#798ef1',
    950: '#000000',
  },
}
SCSS
$custom: #798ef1;
$custom-light: #a6aef6;
$custom-dark: #000000;
JSON
{
  "hex": "#798ef1",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 241
  },
  "hsl": {
    "h": 229.5,
    "s": 81.081,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67468,
    "c": 0.14805,
    "h": 272.8
  },
  "luminance": 0.29762
}

Semantic roles & 50–950 ramp

primary
#798EF1
secondary
#F3EDD3
accent
#B808DD
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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