#798DF0#798DF0

#798DF0 is a light, vivid blue. Relative luminance 0.294; OKLCH L 67.2% C 0.148 H 273.2°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#798DF0
RGBrgb(121, 141, 240)
HSLhsl(230, 80%, 71%)
HSVhsv(230, 50%, 94%)
CMYKcmyk(49.6%, 41.3%, 0%, 5.9%)
CIE-LABlab(61.14, 19.41, -52.13)
CIE-LCHlch(61.14, 55.63, 290.42°)
OKLaboklab(67.21% 0.0082 -0.1477)
OKLCHoklch(67.21% 0.148 273.2)
XYZxyz(33.1332, 29.4039, 86.3508)
Luminance0.2941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DF0 #F0DC79
analogous
#79C8F0 #798DF0 #A079F0
triadic
#798DF0 #F0798D #8DF079
tetradic
#798DF0 #F079C8 #F0DC79 #79F0A0
square
#798DF0 #F079C8 #F0DC79 #79F0A0
split-complementary
#798DF0 #F0A079 #C8F079
monochromatic
#1838D7 #425EEA #798DF0 #B0BCF6 #E3E8FC

Accessibility & contrast

On white

3.05
#798DF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#798DF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DF0
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DF0#FFFFFF#000000##000000
##798DF01.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6599F4
Deuteranopia (green-blind)
#598FEE
Tritanopia (blue-blind)
#47A2B3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #798df0;
/* rgb */ color: rgb(121, 141, 240);
/* oklch */ color: oklch(67.2% 0.148 273.2);
Tailwind
colors: {
  custom: {
    50: '#a6aef5',
    500: '#798df0',
    950: '#000000',
  },
}
SCSS
$custom: #798df0;
$custom-light: #a6aef5;
$custom-dark: #000000;
JSON
{
  "hex": "#798df0",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 240
  },
  "hsl": {
    "h": 229.916,
    "s": 79.866,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67214,
    "c": 0.14793,
    "h": 273.2
  },
  "luminance": 0.29406
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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