#798ECB#798ECB

#798ECB is a light, moderate blue. Relative luminance 0.277; OKLCH L 65.5% C 0.095 H 269.1°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#798ECB
RGBrgb(121, 142, 203)
HSLhsl(225, 44%, 64%)
HSVhsv(225, 40%, 80%)
CMYKcmyk(40.4%, 30%, 0%, 20.4%)
CIE-LABlab(59.64, 7.99, -33.88)
CIE-LCHlch(59.64, 34.81, 283.28°)
OKLaboklab(65.48% -0.0014 -0.0946)
OKLCHoklch(65.48% 0.095 269.1)
XYZxyz(28.3344, 27.7214, 60.3461)
Luminance0.2772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798ECB #CBB679
analogous
#79B7CB #798ECB #8D79CB
triadic
#798ECB #CB798E #8ECB79
tetradic
#798ECB #CB79B7 #CBB679 #79CB8D
square
#798ECB #CB79B7 #CBB679 #79CB8D
split-complementary
#798ECB #CB8D79 #B7CB79
monochromatic
#384F91 #4D69BA #798ECB #A5B3DC #D1D8ED

Accessibility & contrast

On white

3.21
#798ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#798ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798ECB
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798ECB#FFFFFF#000000##000000
##798ECB1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7993CE
Deuteranopia (green-blind)
#728CCA
Tritanopia (blue-blind)
#5E9AA4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #798ecb;
/* rgb */ color: rgb(121, 142, 203);
/* oklch */ color: oklch(65.5% 0.095 269.1);
Tailwind
colors: {
  custom: {
    50: '#a3aedb',
    500: '#798ecb',
    950: '#000000',
  },
}
SCSS
$custom: #798ecb;
$custom-light: #a3aedb;
$custom-dark: #000000;
JSON
{
  "hex": "#798ecb",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 203
  },
  "hsl": {
    "h": 224.634,
    "s": 44.086,
    "l": 63.529
  },
  "oklch": {
    "l": 0.65479,
    "c": 0.09463,
    "h": 269.1
  },
  "luminance": 0.27723
}

Semantic roles & 50–950 ramp

primary
#798ECB
secondary
#DED7C1
accent
#942EB7
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #798ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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