#799CE7#799CE7

#799CE7 is a light, moderate blue. Relative luminance 0.336; OKLCH L 69.8% C 0.118 H 264.5°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#799CE7
RGBrgb(121, 156, 231)
HSLhsl(221, 70%, 69%)
HSVhsv(221, 48%, 91%)
CMYKcmyk(47.6%, 32.5%, 0%, 9.4%)
CIE-LABlab(64.65, 7.97, -41.62)
CIE-LCHlch(64.65, 42.38, 280.84°)
OKLaboklab(69.78% -0.0113 -0.117)
OKLCHoklch(69.78% 0.118 264.5)
XYZxyz(34.1927, 33.6092, 80.2713)
Luminance0.3361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799CE7 #E7C479
analogous
#79D3E7 #799CE7 #8D79E7
triadic
#799CE7 #E7799C #9CE779
tetradic
#799CE7 #E779D3 #E7C479 #79E78D
square
#799CE7 #E779D3 #E7C479 #79E78D
split-complementary
#799CE7 #E78D79 #D3E779
monochromatic
#2356C3 #4576DE #799CE7 #ADC2F0 #E1E9FA

Accessibility & contrast

On white

2.72
#799CE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#799CE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #799CE7
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799CE7#FFFFFF#000000##000000
##799CE71.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A2EA
Deuteranopia (green-blind)
#7498E5
Tritanopia (blue-blind)
#4CACB7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #799ce7;
/* rgb */ color: rgb(121, 156, 231);
/* oklch */ color: oklch(69.8% 0.118 264.5);
Tailwind
colors: {
  custom: {
    50: '#a5b8ef',
    500: '#799ce7',
    950: '#000000',
  },
}
SCSS
$custom: #799ce7;
$custom-light: #a5b8ef;
$custom-dark: #000000;
JSON
{
  "hex": "#799ce7",
  "rgb": {
    "r": 121,
    "g": 156,
    "b": 231
  },
  "hsl": {
    "h": 220.909,
    "s": 69.62,
    "l": 69.02
  },
  "oklch": {
    "l": 0.69783,
    "c": 0.11752,
    "h": 264.5
  },
  "luminance": 0.33611
}

Semantic roles & 50–950 ramp

primary
#799CE7
secondary
#EEE4CE
accent
#9514D2
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #799CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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