#798FDE#798FDE

#798FDE is a light, vivid blue. Relative luminance 0.290; OKLCH L 66.6% C 0.120 H 271.0°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#798FDE
RGBrgb(121, 143, 222)
HSLhsl(227, 60%, 67%)
HSVhsv(227, 45%, 87%)
CMYKcmyk(45.5%, 35.6%, 0%, 12.9%)
CIE-LABlab(60.77, 12.87, -42.74)
CIE-LCHlch(60.77, 44.63, 286.76°)
OKLaboklab(66.64% 0.0022 -0.1203)
OKLCHoklch(66.64% 0.12 271)
XYZxyz(30.8883, 28.9821, 73.0596)
Luminance0.2898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FDE #DEC879
analogous
#79C1DE #798FDE #9679DE
triadic
#798FDE #DE798F #8FDE79
tetradic
#798FDE #DE79C1 #DEC879 #79DE96
square
#798FDE #DE79C1 #DEC879 #79DE96
split-complementary
#798FDE #DE9679 #C1DE79
monochromatic
#2C49B1 #4866D2 #798FDE #AAB8EA #DBE1F6

Accessibility & contrast

On white

3.09
#798FDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#798FDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FDE
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FDE#FFFFFF#000000##000000
##798FDE1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7297E1
Deuteranopia (green-blind)
#698FDC
Tritanopia (blue-blind)
#549FAC
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #798fde;
/* rgb */ color: rgb(121, 143, 222);
/* oklch */ color: oklch(66.6% 0.120 271.0);
Tailwind
colors: {
  custom: {
    50: '#a4afe8',
    500: '#798fde',
    950: '#000000',
  },
}
SCSS
$custom: #798fde;
$custom-light: #a4afe8;
$custom-dark: #000000;
JSON
{
  "hex": "#798fde",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 222
  },
  "hsl": {
    "h": 226.931,
    "s": 60.479,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66637,
    "c": 0.1203,
    "h": 271
  },
  "luminance": 0.28984
}

Semantic roles & 50–950 ramp

primary
#798FDE
secondary
#E9E2C9
accent
#A31DC8
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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