#798EEB#798EEB

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

Color values

HEX#798EEB
RGBrgb(121, 142, 235)
HSLhsl(229, 74%, 70%)
HSVhsv(229, 49%, 92%)
CMYKcmyk(48.5%, 39.6%, 0%, 7.8%)
CIE-LABlab(61.14, 17.32, -49.36)
CIE-LCHlch(61.14, 52.31, 289.33°)
OKLaboklab(67.13% 0.0061 -0.1396)
OKLCHoklch(67.13% 0.14 272.5)
XYZxyz(32.5488, 29.4071, 82.5422)
Luminance0.2941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EEB #EBD679
analogous
#79C7EB #798EEB #9D79EB
triadic
#798EEB #EB798E #8EEB79
tetradic
#798EEB #EB79C7 #EBD679 #79EB9D
square
#798EEB #EB79C7 #EBD679 #79EB9D
split-complementary
#798EEB #EB9D79 #C7EB79
monochromatic
#1E3ECB #4461E3 #798EEB #AEBBF3 #E4E8FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798EEB#FFFFFF#000000##000000
##798EEB1.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)
#6A99EF
Deuteranopia (green-blind)
#5F8FE9
Tritanopia (blue-blind)
#4BA2B1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #798eeb;
/* rgb */ color: rgb(121, 142, 235);
/* oklch */ color: oklch(67.1% 0.140 272.5);
Tailwind
colors: {
  custom: {
    50: '#a6aef2',
    500: '#798eeb',
    950: '#000000',
  },
}
SCSS
$custom: #798eeb;
$custom-light: #a6aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#798eeb",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 235
  },
  "hsl": {
    "h": 228.947,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67133,
    "c": 0.13973,
    "h": 272.5
  },
  "luminance": 0.29409
}

Semantic roles & 50–950 ramp

primary
#798EEB
secondary
#F0EAD0
accent
#B20FD6
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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