#798BEF#798BEF

#798BEF is a light, vivid blue. Relative luminance 0.288; OKLCH L 66.8% C 0.149 H 274.0°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#798BEF
RGBrgb(121, 139, 239)
HSLhsl(231, 79%, 71%)
HSVhsv(231, 49%, 94%)
CMYKcmyk(49.4%, 41.8%, 0%, 6.3%)
CIE-LABlab(60.57, 20.29, -52.48)
CIE-LCHlch(60.57, 56.26, 291.14°)
OKLaboklab(66.76% 0.0104 -0.1487)
OKLCHoklch(66.76% 0.149 274)
XYZxyz(32.6928, 28.7602, 85.4732)
Luminance0.2876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BEF #EFDD79
analogous
#79C6EF #798BEF #A279EF
triadic
#798BEF #EF798B #8BEF79
tetradic
#798BEF #EF79C6 #EFDD79 #79EFA2
square
#798BEF #EF79C6 #EFDD79 #79EFA2
split-complementary
#798BEF #EFA279 #C6EF79
monochromatic
#1936D4 #425CE8 #798BEF #B0BAF6 #E4E7FC

Accessibility & contrast

On white

3.11
#798BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#798BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BEF
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BEF#FFFFFF#000000##000000
##798BEF1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6397F3
Deuteranopia (green-blind)
#578DED
Tritanopia (blue-blind)
#49A0B1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #798bef;
/* rgb */ color: rgb(121, 139, 239);
/* oklch */ color: oklch(66.8% 0.149 274.0);
Tailwind
colors: {
  custom: {
    50: '#a6acf5',
    500: '#798bef',
    950: '#000000',
  },
}
SCSS
$custom: #798bef;
$custom-light: #a6acf5;
$custom-dark: #000000;
JSON
{
  "hex": "#798bef",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 239
  },
  "hsl": {
    "h": 230.847,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66763,
    "c": 0.1491,
    "h": 274
  },
  "luminance": 0.28762
}

Semantic roles & 50–950 ramp

primary
#798BEF
secondary
#F2EDD2
accent
#BB0BDB
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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