#798EC3#798EC3

#798EC3 is a light, moderate blue. Relative luminance 0.274; OKLCH L 65.1% C 0.083 H 267.4°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#798EC3
RGBrgb(121, 142, 195)
HSLhsl(223, 38%, 62%)
HSVhsv(223, 38%, 76%)
CMYKcmyk(37.9%, 27.2%, 0%, 23.5%)
CIE-LABlab(59.30, 5.77, -29.90)
CIE-LCHlch(59.30, 30.45, 280.92°)
OKLaboklab(65.1% -0.0037 -0.0832)
OKLCHoklch(65.1% 0.083 267.4)
XYZxyz(27.4055, 27.3498, 55.4542)
Luminance0.2735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EC3 #C3AE79
analogous
#79B3C3 #798EC3 #8979C3
triadic
#798EC3 #C3798E #8EC379
tetradic
#798EC3 #C379B3 #C3AE79 #79C389
square
#798EC3 #C379B3 #C3AE79 #79C389
split-complementary
#798EC3 #C38979 #B3C379
monochromatic
#3C5186 #4F6AB0 #798EC3 #A3B2D6 #CED5E9

Accessibility & contrast

On white

3.25
#798EC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#798EC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798EC3
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EC3#FFFFFF#000000##000000
##798EC31.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C92C5
Deuteranopia (green-blind)
#758CC2
Tritanopia (blue-blind)
#6299A0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #798ec3;
/* rgb */ color: rgb(121, 142, 195);
/* oklch */ color: oklch(65.1% 0.083 267.4);
Tailwind
colors: {
  custom: {
    50: '#a2aed5',
    500: '#798ec3',
    950: '#000000',
  },
}
SCSS
$custom: #798ec3;
$custom-light: #a2aed5;
$custom-dark: #000000;
JSON
{
  "hex": "#798ec3",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 195
  },
  "hsl": {
    "h": 222.973,
    "s": 38.144,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65103,
    "c": 0.08326,
    "h": 267.4
  },
  "luminance": 0.27351
}

Semantic roles & 50–950 ramp

primary
#798EC3
secondary
#DAD2BE
accent
#8E34B1
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #798EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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