#799FF2#799FF2

#799FF2 is a light, vivid blue. Relative luminance 0.353; OKLCH L 71.0% C 0.129 H 264.6°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#799FF2
RGBrgb(121, 159, 242)
HSLhsl(221, 82%, 71%)
HSVhsv(221, 50%, 95%)
CMYKcmyk(50%, 34.3%, 0%, 5.1%)
CIE-LABlab(65.96, 9.52, -45.61)
CIE-LCHlch(65.96, 46.59, 281.78°)
OKLaboklab(70.96% -0.0121 -0.1285)
OKLCHoklch(70.96% 0.129 264.6)
XYZxyz(36.3050, 35.2695, 88.8818)
Luminance0.3527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799FF2 #F2CC79
analogous
#79DBF2 #799FF2 #8F79F2
triadic
#799FF2 #F2799F #9FF279
tetradic
#799FF2 #F279DB #F2CC79 #79F28F
square
#799FF2 #F279DB #F2CC79 #79F28F
split-complementary
#799FF2 #F28F79 #DBF279
monochromatic
#1553DB #4177ED #799FF2 #B1C7F7 #E3EBFC

Accessibility & contrast

On white

2.61
#799FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#799FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #799FF2
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799FF2#FFFFFF#000000##000000
##799FF21.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA6F5
Deuteranopia (green-blind)
#719BF0
Tritanopia (blue-blind)
#42B1BD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #799ff2;
/* rgb */ color: rgb(121, 159, 242);
/* oklch */ color: oklch(71.0% 0.129 264.6);
Tailwind
colors: {
  custom: {
    50: '#a6bbf6',
    500: '#799ff2',
    950: '#000000',
  },
}
SCSS
$custom: #799ff2;
$custom-light: #a6bbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#799ff2",
  "rgb": {
    "r": 121,
    "g": 159,
    "b": 242
  },
  "hsl": {
    "h": 221.157,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70964,
    "c": 0.12911,
    "h": 264.6
  },
  "luminance": 0.35272
}

Semantic roles & 50–950 ramp

primary
#799FF2
secondary
#F3E9D3
accent
#9B07DF
background
#FAFBFF
surface
#F4F6FE
border
#CED0D6
text
#101117
muted
#7F8085

Preview Lab

Preview with #799FF2

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

Preview Lab → · Contrast checker → · Palette generator →

#799FF2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva