#798EDC#798EDC

#798EDC is a light, moderate blue. Relative luminance 0.286; OKLCH L 66.3% C 0.119 H 271.4°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#798EDC
RGBrgb(121, 142, 220)
HSLhsl(227, 59%, 67%)
HSVhsv(227, 45%, 86%)
CMYKcmyk(45%, 35.5%, 0%, 13.7%)
CIE-LABlab(60.41, 12.87, -42.19)
CIE-LCHlch(60.41, 44.11, 286.97°)
OKLaboklab(66.33% 0.0029 -0.1187)
OKLCHoklch(66.33% 0.119 271.4)
XYZxyz(30.4724, 28.5766, 71.6064)
Luminance0.2858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EDC #DCC779
analogous
#79C0DC #798EDC #9679DC
triadic
#798EDC #DC798E #8EDC79
tetradic
#798EDC #DC79C0 #DCC779 #79DC96
square
#798EDC #DC79C0 #DCC779 #79DC96
split-complementary
#798EDC #DC9679 #C0DC79
monochromatic
#2D48AD #4865CF #798EDC #AAB7E9 #DAE0F5

Accessibility & contrast

On white

3.13
#798EDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#798EDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798EDC
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EDC#FFFFFF#000000##000000
##798EDC1.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7296DF
Deuteranopia (green-blind)
#698EDA
Tritanopia (blue-blind)
#559EAB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #798edc;
/* rgb */ color: rgb(121, 142, 220);
/* oklch */ color: oklch(66.3% 0.119 271.4);
Tailwind
colors: {
  custom: {
    50: '#a4aee7',
    500: '#798edc',
    950: '#000000',
  },
}
SCSS
$custom: #798edc;
$custom-light: #a4aee7;
$custom-dark: #000000;
JSON
{
  "hex": "#798edc",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 220
  },
  "hsl": {
    "h": 227.273,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66328,
    "c": 0.11873,
    "h": 271.4
  },
  "luminance": 0.28578
}

Semantic roles & 50–950 ramp

primary
#798EDC
secondary
#E8E2C9
accent
#A31FC6
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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