#799FE2#799FE2

#799FE2 is a light, moderate blue. Relative luminance 0.344; OKLCH L 70.2% C 0.108 H 261.3°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#799FE2
RGBrgb(121, 159, 226)
HSLhsl(218, 64%, 68%)
HSVhsv(218, 46%, 89%)
CMYKcmyk(46.5%, 29.6%, 0%, 11.4%)
CIE-LABlab(65.24, 4.79, -37.94)
CIE-LCHlch(65.24, 38.25, 277.19°)
OKLaboklab(70.17% -0.0162 -0.1063)
OKLCHoklch(70.17% 0.108 261.3)
XYZxyz(34.0063, 34.3500, 76.7751)
Luminance0.3435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799FE2 #E2BC79
analogous
#79D3E2 #799FE2 #8779E2
triadic
#799FE2 #E2799F #9FE279
tetradic
#799FE2 #E279D3 #E2BC79 #79E287
square
#799FE2 #E279D3 #E2BC79 #79E287
split-complementary
#799FE2 #E28779 #D3E279
monochromatic
#285CB9 #477BD7 #799FE2 #ABC3ED #DEE7F8

Accessibility & contrast

On white

2.67
#799FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#799FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #799FE2
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799FE2#FFFFFF#000000##000000
##799FE21.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A4E5
Deuteranopia (green-blind)
#7A9AE1
Tritanopia (blue-blind)
#4FADB7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #799fe2;
/* rgb */ color: rgb(121, 159, 226);
/* oklch */ color: oklch(70.2% 0.108 261.3);
Tailwind
colors: {
  custom: {
    50: '#a4bbeb',
    500: '#799fe2',
    950: '#000000',
  },
}
SCSS
$custom: #799fe2;
$custom-light: #a4bbeb;
$custom-dark: #000000;
JSON
{
  "hex": "#799fe2",
  "rgb": {
    "r": 121,
    "g": 159,
    "b": 226
  },
  "hsl": {
    "h": 218.286,
    "s": 64.417,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70169,
    "c": 0.10756,
    "h": 261.3
  },
  "luminance": 0.34352
}

Semantic roles & 50–950 ramp

primary
#799FE2
secondary
#EBE0CB
accent
#8B19CC
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #799FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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