#798FDB#798FDB

#798FDB is a light, moderate blue. Relative luminance 0.288; OKLCH L 66.5% C 0.116 H 270.7°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#798FDB
RGBrgb(121, 143, 219)
HSLhsl(227, 58%, 67%)
HSVhsv(227, 45%, 86%)
CMYKcmyk(44.7%, 34.7%, 0%, 14.1%)
CIE-LABlab(60.62, 12.00, -41.29)
CIE-LCHlch(60.62, 43.00, 286.20°)
OKLaboklab(66.48% 0.0015 -0.1161)
OKLCHoklch(66.48% 0.116 270.7)
XYZxyz(30.4898, 28.8227, 70.9608)
Luminance0.2882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FDB #DBC579
analogous
#79C0DB #798FDB #9479DB
triadic
#798FDB #DB798F #8FDB79
tetradic
#798FDB #DB79C0 #DBC579 #79DB94
square
#798FDB #DB79C0 #DBC579 #79DB94
split-complementary
#798FDB #DB9479 #C0DB79
monochromatic
#2E4AAC #4967CE #798FDB #A9B7E8 #D9E0F5

Accessibility & contrast

On white

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

On black

6.76
#798FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FDB
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FDB#FFFFFF#000000##000000
##798FDB1.003.106.766.76
#FFFFFF3.101.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7497DE
Deuteranopia (green-blind)
#6A8ED9
Tritanopia (blue-blind)
#569FAB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #798fdb;
/* rgb */ color: rgb(121, 143, 219);
/* oklch */ color: oklch(66.5% 0.116 270.7);
Tailwind
colors: {
  custom: {
    50: '#a4afe6',
    500: '#798fdb',
    950: '#000000',
  },
}
SCSS
$custom: #798fdb;
$custom-light: #a4afe6;
$custom-dark: #000000;
JSON
{
  "hex": "#798fdb",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 219
  },
  "hsl": {
    "h": 226.531,
    "s": 57.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66482,
    "c": 0.11608,
    "h": 270.7
  },
  "luminance": 0.28824
}

Semantic roles & 50–950 ramp

primary
#798FDB
secondary
#E8E1C8
accent
#A020C5
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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