#798FEB#798FEB

#798FEB is a light, vivid blue. Relative luminance 0.297; OKLCH L 67.3% C 0.138 H 272.1°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#798FEB
RGBrgb(121, 143, 235)
HSLhsl(228, 74%, 70%)
HSVhsv(228, 49%, 92%)
CMYKcmyk(48.5%, 39.1%, 0%, 7.8%)
CIE-LABlab(61.40, 16.73, -48.95)
CIE-LCHlch(61.40, 51.73, 288.87°)
OKLaboklab(67.33% 0.005 -0.1384)
OKLCHoklch(67.33% 0.138 272.1)
XYZxyz(32.6982, 29.7060, 82.5920)
Luminance0.2971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FEB #EBD579
analogous
#79C8EB #798FEB #9C79EB
triadic
#798FEB #EB798F #8FEB79
tetradic
#798FEB #EB79C8 #EBD579 #79EB9C
square
#798FEB #EB79C8 #EBD579 #79EB9C
split-complementary
#798FEB #EB9C79 #C8EB79
monochromatic
#1E40CB #4462E3 #798FEB #AEBCF3 #E4E8FB

Accessibility & contrast

On white

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

On black

6.94
#798FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FEB
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FEB#FFFFFF#000000##000000
##798FEB1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B99EF
Deuteranopia (green-blind)
#6090E9
Tritanopia (blue-blind)
#4BA2B2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #798feb;
/* rgb */ color: rgb(121, 143, 235);
/* oklch */ color: oklch(67.3% 0.138 272.1);
Tailwind
colors: {
  custom: {
    50: '#a6aff2',
    500: '#798feb',
    950: '#000000',
  },
}
SCSS
$custom: #798feb;
$custom-light: #a6aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#798feb",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 235
  },
  "hsl": {
    "h": 228.421,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67333,
    "c": 0.13848,
    "h": 272.1
  },
  "luminance": 0.29708
}

Semantic roles & 50–950 ramp

primary
#798FEB
secondary
#F0EAD0
accent
#B00FD6
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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