#798FDC#798FDC

#798FDC is a light, moderate blue. Relative luminance 0.289; OKLCH L 66.5% C 0.117 H 270.8°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#798FDC
RGBrgb(121, 143, 220)
HSLhsl(227, 59%, 67%)
HSVhsv(227, 45%, 86%)
CMYKcmyk(45%, 35%, 0%, 13.7%)
CIE-LABlab(60.67, 12.29, -41.77)
CIE-LCHlch(60.67, 43.54, 286.39°)
OKLaboklab(66.53% 0.0017 -0.1175)
OKLCHoklch(66.53% 0.117 270.8)
XYZxyz(30.6218, 28.8755, 71.6562)
Luminance0.2888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FDC #DCC679
analogous
#79C0DC #798FDC #9579DC
triadic
#798FDC #DC798F #8FDC79
tetradic
#798FDC #DC79C0 #DCC679 #79DC95
square
#798FDC #DC79C0 #DCC679 #79DC95
split-complementary
#798FDC #DC9579 #C0DC79
monochromatic
#2D4AAD #4866CF #798FDC #AAB8E9 #DAE0F5

Accessibility & contrast

On white

3.10
#798FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#798FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FDC
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FDC#FFFFFF#000000##000000
##798FDC1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7397DF
Deuteranopia (green-blind)
#6A8EDA
Tritanopia (blue-blind)
#559FAB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #798fdc;
/* rgb */ color: rgb(121, 143, 220);
/* oklch */ color: oklch(66.5% 0.117 270.8);
Tailwind
colors: {
  custom: {
    50: '#a4afe7',
    500: '#798fdc',
    950: '#000000',
  },
}
SCSS
$custom: #798fdc;
$custom-light: #a4afe7;
$custom-dark: #000000;
JSON
{
  "hex": "#798fdc",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 220
  },
  "hsl": {
    "h": 226.667,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66533,
    "c": 0.11749,
    "h": 270.8
  },
  "luminance": 0.28877
}

Semantic roles & 50–950 ramp

primary
#798FDC
secondary
#E8E1C9
accent
#A11FC6
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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