#799CE4#799CE4

#799CE4 is a light, moderate blue. Relative luminance 0.334; OKLCH L 69.6% C 0.113 H 263.9°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#799CE4
RGBrgb(121, 156, 228)
HSLhsl(220, 66%, 68%)
HSVhsv(220, 47%, 89%)
CMYKcmyk(46.9%, 31.6%, 0%, 10.6%)
CIE-LABlab(64.52, 7.09, -40.18)
CIE-LCHlch(64.52, 40.80, 280.01°)
OKLaboklab(69.64% -0.0121 -0.1128)
OKLCHoklch(69.64% 0.113 263.9)
XYZxyz(33.7727, 33.4412, 78.0589)
Luminance0.3344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799CE4 #E4C179
analogous
#79D1E4 #799CE4 #8B79E4
triadic
#799CE4 #E4799C #9CE479
tetradic
#799CE4 #E479D1 #E4C179 #79E48B
square
#799CE4 #E479D1 #E4C179 #79E48B
split-complementary
#799CE4 #E48B79 #D1E479
monochromatic
#2657BD #4676DA #799CE4 #ACC2EE #DFE7F9

Accessibility & contrast

On white

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

On black

7.69
#799CE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #799CE4
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799CE4#FFFFFF#000000##000000
##799CE41.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A2E7
Deuteranopia (green-blind)
#7598E2
Tritanopia (blue-blind)
#4EABB6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #799ce4;
/* rgb */ color: rgb(121, 156, 228);
/* oklch */ color: oklch(69.6% 0.113 263.9);
Tailwind
colors: {
  custom: {
    50: '#a5b8ed',
    500: '#799ce4',
    950: '#000000',
  },
}
SCSS
$custom: #799ce4;
$custom-light: #a5b8ed;
$custom-dark: #000000;
JSON
{
  "hex": "#799ce4",
  "rgb": {
    "r": 121,
    "g": 156,
    "b": 228
  },
  "hsl": {
    "h": 220.374,
    "s": 66.46,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69635,
    "c": 0.11344,
    "h": 263.9
  },
  "luminance": 0.33443
}

Semantic roles & 50–950 ramp

primary
#799CE4
secondary
#ECE2CC
accent
#9217CE
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #799CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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