#798DEF#798DEF

#798DEF is a light, vivid blue. Relative luminance 0.293; OKLCH L 67.2% C 0.147 H 273.1°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#798DEF
RGBrgb(121, 141, 239)
HSLhsl(230, 79%, 71%)
HSVhsv(230, 49%, 94%)
CMYKcmyk(49.4%, 41%, 0%, 6.3%)
CIE-LABlab(61.08, 19.11, -51.66)
CIE-LCHlch(61.08, 55.08, 290.30°)
OKLaboklab(67.16% 0.0081 -0.1463)
OKLCHoklch(67.16% 0.147 273.1)
XYZxyz(32.9851, 29.3447, 85.5706)
Luminance0.2935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DEF #EFDB79
analogous
#79C8EF #798DEF #A079EF
triadic
#798DEF #EF798D #8DEF79
tetradic
#798DEF #EF79C8 #EFDB79 #79EFA0
square
#798DEF #EF79C8 #EFDB79 #79EFA0
split-complementary
#798DEF #EFA079 #C8EF79
monochromatic
#1939D4 #425EE8 #798DEF #B0BCF6 #E4E8FC

Accessibility & contrast

On white

3.06
#798DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#798DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DEF
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DEF#FFFFFF#000000##000000
##798DEF1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F3
Deuteranopia (green-blind)
#5A8FED
Tritanopia (blue-blind)
#48A2B2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #798def;
/* rgb */ color: rgb(121, 141, 239);
/* oklch */ color: oklch(67.2% 0.147 273.1);
Tailwind
colors: {
  custom: {
    50: '#a6aef5',
    500: '#798def',
    950: '#000000',
  },
}
SCSS
$custom: #798def;
$custom-light: #a6aef5;
$custom-dark: #000000;
JSON
{
  "hex": "#798def",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 239
  },
  "hsl": {
    "h": 229.831,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67157,
    "c": 0.14655,
    "h": 273.1
  },
  "luminance": 0.29347
}

Semantic roles & 50–950 ramp

primary
#798DEF
secondary
#F2ECD2
accent
#B80BDB
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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