#799AFE#799AFE

#799AFE is a light, vivid blue. Relative luminance 0.343; OKLCH L 70.6% C 0.151 H 268.6°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#799AFE
RGBrgb(121, 154, 254)
HSLhsl(225, 99%, 74%)
HSVhsv(225, 52%, 100%)
CMYKcmyk(52.4%, 39.4%, 0%, 0.4%)
CIE-LABlab(65.22, 16.05, -53.33)
CIE-LCHlch(65.22, 55.69, 286.75°)
OKLaboklab(70.59% -0.0038 -0.1511)
OKLCHoklch(70.59% 0.151 268.6)
XYZxyz(37.3243, 34.3293, 98.4061)
Luminance0.3433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799AFE #FEDD79
analogous
#79DCFE #799AFE #9A79FE
triadic
#799AFE #FE799A #9AFE79
tetradic
#799AFE #FE79DC #FEDD79 #79FE9A
square
#799AFE #FE79DC #FEDD79 #79FE9A
split-complementary
#799AFE #FE9A79 #DCFE79
monochromatic
#0240FB #3C6CFE #799AFE #B6C8FE #E1E8FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##799AFE#FFFFFF#000000##000000
##799AFE1.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)
#71A5FF
Deuteranopia (green-blind)
#6299FC
Tritanopia (blue-blind)
#37B0C0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #799afe;
/* rgb */ color: rgb(121, 154, 254);
/* oklch */ color: oklch(70.6% 0.151 268.6);
Tailwind
colors: {
  custom: {
    50: '#a7b7ff',
    500: '#799afe',
    950: '#000000',
  },
}
SCSS
$custom: #799afe;
$custom-light: #a7b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#799afe",
  "rgb": {
    "r": 121,
    "g": 154,
    "b": 254
  },
  "hsl": {
    "h": 225.113,
    "s": 98.519,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70586,
    "c": 0.15116,
    "h": 268.6
  },
  "luminance": 0.34332
}

Semantic roles & 50–950 ramp

primary
#799AFE
secondary
#F7EED4
accent
#AD00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101118
muted
#7F8086

Preview Lab

Preview with #799AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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