#798FEA#798FEA

#798FEA is a light, vivid blue. Relative luminance 0.296; OKLCH L 67.3% C 0.137 H 272.0°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#798FEA
RGBrgb(121, 143, 234)
HSLhsl(228, 73%, 70%)
HSVhsv(228, 48%, 92%)
CMYKcmyk(48.3%, 38.9%, 0%, 8.2%)
CIE-LABlab(61.35, 16.43, -48.48)
CIE-LCHlch(61.35, 51.19, 288.72°)
OKLaboklab(67.28% 0.0048 -0.137)
OKLCHoklch(67.28% 0.137 272)
XYZxyz(32.5542, 29.6484, 81.8333)
Luminance0.2965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FEA #EAD479
analogous
#79C7EA #798FEA #9C79EA
triadic
#798FEA #EA798F #8FEA79
tetradic
#798FEA #EA79C7 #EAD479 #79EA9C
square
#798FEA #EA79C7 #EAD479 #79EA9C
split-complementary
#798FEA #EA9C79 #C7EA79
monochromatic
#2041C9 #4463E2 #798FEA #AEBBF2 #E3E7FB

Accessibility & contrast

On white

3.03
#798FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#798FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FEA
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FEA#FFFFFF#000000##000000
##798FEA1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C99EE
Deuteranopia (green-blind)
#6190E8
Tritanopia (blue-blind)
#4CA2B1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #798fea;
/* rgb */ color: rgb(121, 143, 234);
/* oklch */ color: oklch(67.3% 0.137 272.0);
Tailwind
colors: {
  custom: {
    50: '#a5aff1',
    500: '#798fea',
    950: '#000000',
  },
}
SCSS
$custom: #798fea;
$custom-light: #a5aff1;
$custom-dark: #000000;
JSON
{
  "hex": "#798fea",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 234
  },
  "hsl": {
    "h": 228.319,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67278,
    "c": 0.13709,
    "h": 272
  },
  "luminance": 0.2965
}

Semantic roles & 50–950 ramp

primary
#798FEA
secondary
#F0E9CF
accent
#AF11D5
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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