#798EEC#798EEC

#798EEC is a light, vivid blue. Relative luminance 0.295; OKLCH L 67.2% C 0.141 H 272.6°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#798EEC
RGBrgb(121, 142, 236)
HSLhsl(229, 75%, 70%)
HSVhsv(229, 49%, 93%)
CMYKcmyk(48.7%, 39.8%, 0%, 7.5%)
CIE-LABlab(61.19, 17.62, -49.84)
CIE-LCHlch(61.19, 52.86, 289.47°)
OKLaboklab(67.19% 0.0063 -0.141)
OKLCHoklch(67.19% 0.141 272.6)
XYZxyz(32.6937, 29.4651, 83.3052)
Luminance0.2947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EEC #ECD779
analogous
#79C8EC #798EEC #9D79EC
triadic
#798EEC #EC798E #8EEC79
tetradic
#798EEC #EC79C8 #ECD779 #79EC9D
square
#798EEC #EC79C8 #ECD779 #79EC9D
split-complementary
#798EEC #EC9D79 #C8EC79
monochromatic
#1D3DCD #4361E4 #798EEC #AFBBF4 #E4E8FB

Accessibility & contrast

On white

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

On black

6.89
#798EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798EEC
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EEC#FFFFFF#000000##000000
##798EEC1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F0
Deuteranopia (green-blind)
#5E8FEA
Tritanopia (blue-blind)
#4AA2B2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #798eec;
/* rgb */ color: rgb(121, 142, 236);
/* oklch */ color: oklch(67.2% 0.141 272.6);
Tailwind
colors: {
  custom: {
    50: '#a6aef2',
    500: '#798eec',
    950: '#000000',
  },
}
SCSS
$custom: #798eec;
$custom-light: #a6aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#798eec",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 236
  },
  "hsl": {
    "h": 229.043,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.67188,
    "c": 0.14113,
    "h": 272.6
  },
  "luminance": 0.29467
}

Semantic roles & 50–950 ramp

primary
#798EEC
secondary
#F0EBD0
accent
#B30ED7
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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