#798CEC#798CEC

#798CEC is a light, vivid blue. Relative luminance 0.289; OKLCH L 66.8% C 0.144 H 273.5°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#798CEC
RGBrgb(121, 140, 236)
HSLhsl(230, 75%, 70%)
HSVhsv(230, 49%, 93%)
CMYKcmyk(48.7%, 40.7%, 0%, 7.5%)
CIE-LABlab(60.67, 18.79, -50.66)
CIE-LCHlch(60.67, 54.03, 290.35°)
OKLaboklab(66.79% 0.0087 -0.1434)
OKLCHoklch(66.79% 0.144 273.5)
XYZxyz(32.3988, 28.8753, 83.2069)
Luminance0.2888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CEC #ECD979
analogous
#79C5EC #798CEC #A079EC
triadic
#798CEC #EC798C #8CEC79
tetradic
#798CEC #EC79C5 #ECD979 #79ECA0
square
#798CEC #EC79C5 #ECD979 #79ECA0
split-complementary
#798CEC #ECA079 #C5EC79
monochromatic
#1D3ACD #435EE4 #798CEC #AFBAF4 #E4E8FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798CEC#FFFFFF#000000##000000
##798CEC1.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)
#6697F0
Deuteranopia (green-blind)
#5B8EEA
Tritanopia (blue-blind)
#4BA0B1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #798cec;
/* rgb */ color: rgb(121, 140, 236);
/* oklch */ color: oklch(66.8% 0.144 273.5);
Tailwind
colors: {
  custom: {
    50: '#a6adf2',
    500: '#798cec',
    950: '#000000',
  },
}
SCSS
$custom: #798cec;
$custom-light: #a6adf2;
$custom-dark: #000000;
JSON
{
  "hex": "#798cec",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 236
  },
  "hsl": {
    "h": 230.087,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.6679,
    "c": 0.14366,
    "h": 273.5
  },
  "luminance": 0.28877
}

Semantic roles & 50–950 ramp

primary
#798CEC
secondary
#F0EBD0
accent
#B60ED7
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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