#799CE5#799CE5

#799CE5 is a light, moderate blue. Relative luminance 0.335; OKLCH L 69.7% C 0.115 H 264.1°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#799CE5
RGBrgb(121, 156, 229)
HSLhsl(221, 68%, 69%)
HSVhsv(221, 47%, 90%)
CMYKcmyk(47.2%, 31.9%, 0%, 10.2%)
CIE-LABlab(64.56, 7.38, -40.66)
CIE-LCHlch(64.56, 41.32, 280.29°)
OKLaboklab(69.68% -0.0118 -0.1142)
OKLCHoklch(69.68% 0.115 264.1)
XYZxyz(33.9119, 33.4969, 78.7921)
Luminance0.3350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799CE5 #E5C279
analogous
#79D2E5 #799CE5 #8C79E5
triadic
#799CE5 #E5799C #9CE579
tetradic
#799CE5 #E579D2 #E5C279 #79E58C
square
#799CE5 #E579D2 #E5C279 #79E58C
split-complementary
#799CE5 #E58C79 #D2E579
monochromatic
#2557BF #4676DB #799CE5 #ACC2EF #E0E8F9

Accessibility & contrast

On white

2.73
#799CE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#799CE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #799CE5
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799CE5#FFFFFF#000000##000000
##799CE51.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A2E8
Deuteranopia (green-blind)
#7598E3
Tritanopia (blue-blind)
#4DACB6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #799ce5;
/* rgb */ color: rgb(121, 156, 229);
/* oklch */ color: oklch(69.7% 0.115 264.1);
Tailwind
colors: {
  custom: {
    50: '#a5b8ed',
    500: '#799ce5',
    950: '#000000',
  },
}
SCSS
$custom: #799ce5;
$custom-light: #a5b8ed;
$custom-dark: #000000;
JSON
{
  "hex": "#799ce5",
  "rgb": {
    "r": 121,
    "g": 156,
    "b": 229
  },
  "hsl": {
    "h": 220.556,
    "s": 67.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.69684,
    "c": 0.1148,
    "h": 264.1
  },
  "luminance": 0.33499
}

Semantic roles & 50–950 ramp

primary
#799CE5
secondary
#EDE3CD
accent
#9316CF
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #799CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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