#798EF0#798EF0

#798EF0 is a light, vivid blue. Relative luminance 0.297; OKLCH L 67.4% C 0.147 H 272.8°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#798EF0
RGBrgb(121, 142, 240)
HSLhsl(229, 80%, 71%)
HSVhsv(229, 50%, 94%)
CMYKcmyk(49.6%, 40.8%, 0%, 5.9%)
CIE-LABlab(61.39, 18.82, -51.72)
CIE-LCHlch(61.39, 55.04, 290.00°)
OKLaboklab(67.41% 0.0071 -0.1465)
OKLCHoklch(67.41% 0.147 272.8)
XYZxyz(33.2813, 29.7001, 86.4002)
Luminance0.2970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EF0 #F0DB79
analogous
#79C9F0 #798EF0 #9F79F0
triadic
#798EF0 #F0798E #8EF079
tetradic
#798EF0 #F079C9 #F0DB79 #79F09F
square
#798EF0 #F079C9 #F0DB79 #79F09F
split-complementary
#798EF0 #F09F79 #C9F079
monochromatic
#183AD7 #4260EA #798EF0 #B0BCF6 #E3E8FC

Accessibility & contrast

On white

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

On black

6.94
#798EF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798EF0
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EF0#FFFFFF#000000##000000
##798EF01.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#679AF4
Deuteranopia (green-blind)
#5B8FEE
Tritanopia (blue-blind)
#47A3B3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #798ef0;
/* rgb */ color: rgb(121, 142, 240);
/* oklch */ color: oklch(67.4% 0.147 272.8);
Tailwind
colors: {
  custom: {
    50: '#a6aef5',
    500: '#798ef0',
    950: '#000000',
  },
}
SCSS
$custom: #798ef0;
$custom-light: #a6aef5;
$custom-dark: #000000;
JSON
{
  "hex": "#798ef0",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 240
  },
  "hsl": {
    "h": 229.412,
    "s": 79.866,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67412,
    "c": 0.14667,
    "h": 272.8
  },
  "luminance": 0.29702
}

Semantic roles & 50–950 ramp

primary
#798EF0
secondary
#F2EDD2
accent
#B709DC
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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