#798EDF#798EDF

#798EDF is a light, vivid blue. Relative luminance 0.287; OKLCH L 66.5% C 0.123 H 271.7°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#798EDF
RGBrgb(121, 142, 223)
HSLhsl(228, 61%, 67%)
HSVhsv(228, 46%, 87%)
CMYKcmyk(45.7%, 36.3%, 0%, 12.5%)
CIE-LABlab(60.55, 13.75, -43.64)
CIE-LCHlch(60.55, 45.75, 287.49°)
OKLaboklab(66.49% 0.0036 -0.1229)
OKLCHoklch(66.49% 0.123 271.7)
XYZxyz(30.8733, 28.7369, 73.7177)
Luminance0.2874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EDF #DFCA79
analogous
#79C1DF #798EDF #9779DF
triadic
#798EDF #DF798E #8EDF79
tetradic
#798EDF #DF79C1 #DFCA79 #79DF97
square
#798EDF #DF79C1 #DFCA79 #79DF97
split-complementary
#798EDF #DF9779 #C1DF79
monochromatic
#2B47B3 #4864D3 #798EDF #AAB8EB #DCE1F7

Accessibility & contrast

On white

3.11
#798EDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#798EDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798EDF
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EDF#FFFFFF#000000##000000
##798EDF1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7097E2
Deuteranopia (green-blind)
#678EDD
Tritanopia (blue-blind)
#539FAC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #798edf;
/* rgb */ color: rgb(121, 142, 223);
/* oklch */ color: oklch(66.5% 0.123 271.7);
Tailwind
colors: {
  custom: {
    50: '#a4aee9',
    500: '#798edf',
    950: '#000000',
  },
}
SCSS
$custom: #798edf;
$custom-light: #a4aee9;
$custom-dark: #000000;
JSON
{
  "hex": "#798edf",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 223
  },
  "hsl": {
    "h": 227.647,
    "s": 61.446,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66485,
    "c": 0.12295,
    "h": 271.7
  },
  "luminance": 0.28739
}

Semantic roles & 50–950 ramp

primary
#798EDF
secondary
#EAE3CA
accent
#A61CC9
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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