#799DEC#799DEC

#799DEC is a light, vivid blue. Relative luminance 0.342; OKLCH L 70.2% C 0.123 H 264.8°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#799DEC
RGBrgb(121, 157, 236)
HSLhsl(221, 75%, 70%)
HSVhsv(221, 49%, 93%)
CMYKcmyk(48.7%, 33.5%, 0%, 7.5%)
CIE-LABlab(65.15, 8.88, -43.59)
CIE-LCHlch(65.15, 44.49, 281.51°)
OKLaboklab(70.24% -0.0112 -0.1227)
OKLCHoklch(70.24% 0.123 264.8)
XYZxyz(35.0775, 34.2327, 84.0998)
Luminance0.3423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799DEC #ECC879
analogous
#79D7EC #799DEC #8E79EC
triadic
#799DEC #EC799D #9DEC79
tetradic
#799DEC #EC79D7 #ECC879 #79EC8E
square
#799DEC #EC79D7 #ECC879 #79EC8E
split-complementary
#799DEC #EC8E79 #D7EC79
monochromatic
#1D54CD #4376E4 #799DEC #AFC4F4 #E4EBFB

Accessibility & contrast

On white

2.68
#799DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#799DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #799DEC
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799DEC#FFFFFF#000000##000000
##799DEC1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA4EF
Deuteranopia (green-blind)
#7299EA
Tritanopia (blue-blind)
#48AEBA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #799dec;
/* rgb */ color: rgb(121, 157, 236);
/* oklch */ color: oklch(70.2% 0.123 264.8);
Tailwind
colors: {
  custom: {
    50: '#a5b9f2',
    500: '#799dec',
    950: '#000000',
  },
}
SCSS
$custom: #799dec;
$custom-light: #a5b9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#799dec",
  "rgb": {
    "r": 121,
    "g": 157,
    "b": 236
  },
  "hsl": {
    "h": 221.217,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.70243,
    "c": 0.12321,
    "h": 264.8
  },
  "luminance": 0.34235
}

Semantic roles & 50–950 ramp

primary
#799DEC
secondary
#F0E6D0
accent
#980ED7
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #799DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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