#798FE3#798FE3

#798FE3 is a light, vivid blue. Relative luminance 0.293; OKLCH L 66.9% C 0.127 H 271.5°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#798FE3
RGBrgb(121, 143, 227)
HSLhsl(228, 65%, 68%)
HSVhsv(228, 47%, 89%)
CMYKcmyk(46.7%, 37%, 0%, 11%)
CIE-LABlab(61.01, 14.35, -45.14)
CIE-LCHlch(61.01, 47.37, 287.63°)
OKLaboklab(66.9% 0.0033 -0.1273)
OKLCHoklch(66.9% 0.127 271.5)
XYZxyz(31.5684, 29.2541, 76.6413)
Luminance0.2926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FE3 #E3CD79
analogous
#79C4E3 #798FE3 #9879E3
triadic
#798FE3 #E3798F #8FE379
tetradic
#798FE3 #E379C4 #E3CD79 #79E398
square
#798FE3 #E379C4 #E3CD79 #79E398
split-complementary
#798FE3 #E39879 #C4E379
monochromatic
#2746BB #4665D8 #798FE3 #ACB9EE #DEE4F8

Accessibility & contrast

On white

3.07
#798FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#798FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FE3
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FE3#FFFFFF#000000##000000
##798FE31.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7098E6
Deuteranopia (green-blind)
#668FE1
Tritanopia (blue-blind)
#51A1AE
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #798fe3;
/* rgb */ color: rgb(121, 143, 227);
/* oklch */ color: oklch(66.9% 0.127 271.5);
Tailwind
colors: {
  custom: {
    50: '#a5afec',
    500: '#798fe3',
    950: '#000000',
  },
}
SCSS
$custom: #798fe3;
$custom-light: #a5afec;
$custom-dark: #000000;
JSON
{
  "hex": "#798fe3",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 227
  },
  "hsl": {
    "h": 227.547,
    "s": 65.432,
    "l": 68.235
  },
  "oklch": {
    "l": 0.669,
    "c": 0.12732,
    "h": 271.5
  },
  "luminance": 0.29256
}

Semantic roles & 50–950 ramp

primary
#798FE3
secondary
#ECE5CC
accent
#A818CD
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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