#798BE4#798BE4

#798BE4 is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.1% C 0.134 H 273.6°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#798BE4
RGBrgb(121, 139, 228)
HSLhsl(230, 66%, 68%)
HSVhsv(230, 47%, 89%)
CMYKcmyk(46.9%, 39%, 0%, 10.6%)
CIE-LABlab(60.01, 16.99, -47.28)
CIE-LCHlch(60.01, 50.24, 289.77°)
OKLaboklab(66.15% 0.0083 -0.1335)
OKLCHoklch(66.15% 0.134 273.6)
XYZxyz(31.1170, 28.1298, 77.1737)
Luminance0.2813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BE4 #E4D279
analogous
#79C0E4 #798BE4 #9C79E4
triadic
#798BE4 #E4798B #8BE479
tetradic
#798BE4 #E479C0 #E4D279 #79E49C
square
#798BE4 #E479C0 #E4D279 #79E49C
split-complementary
#798BE4 #E49C79 #C0E479
monochromatic
#263FBD #465FDA #798BE4 #ACB7EE #DFE3F9

Accessibility & contrast

On white

3.17
#798BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#798BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BE4
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BE4#FFFFFF#000000##000000
##798BE41.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6995E7
Deuteranopia (green-blind)
#5F8CE2
Tritanopia (blue-blind)
#519EAC
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #798be4;
/* rgb */ color: rgb(121, 139, 228);
/* oklch */ color: oklch(66.1% 0.134 273.6);
Tailwind
colors: {
  custom: {
    50: '#a5aced',
    500: '#798be4',
    950: '#000000',
  },
}
SCSS
$custom: #798be4;
$custom-light: #a5aced;
$custom-dark: #000000;
JSON
{
  "hex": "#798be4",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 228
  },
  "hsl": {
    "h": 229.907,
    "s": 66.46,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66147,
    "c": 0.13378,
    "h": 273.6
  },
  "luminance": 0.28132
}

Semantic roles & 50–950 ramp

primary
#798BE4
secondary
#ECE7CC
accent
#B017CE
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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