#799CD9#799CD9

#799CD9 is a light, moderate blue. Relative luminance 0.329; OKLCH L 69.1% C 0.099 H 261.2°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#799CD9
RGBrgb(121, 156, 217)
HSLhsl(218, 56%, 66%)
HSVhsv(218, 44%, 85%)
CMYKcmyk(44.2%, 28.1%, 0%, 14.9%)
CIE-LABlab(64.04, 3.90, -34.84)
CIE-LCHlch(64.04, 35.06, 276.39°)
OKLaboklab(69.11% -0.0151 -0.0974)
OKLCHoklch(69.11% 0.099 261.2)
XYZxyz(32.2940, 32.8497, 70.2711)
Luminance0.3285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799CD9 #D9B679
analogous
#79CCD9 #799CD9 #8679D9
triadic
#799CD9 #D9799C #9CD979
tetradic
#799CD9 #D979CC #D9B679 #79D986
square
#799CD9 #D979CC #D9B679 #79D986
split-complementary
#799CD9 #D98679 #CCD979
monochromatic
#305CA8 #4979CB #799CD9 #A9BFE7 #D8E2F4

Accessibility & contrast

On white

2.77
#799CD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#799CD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #799CD9
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799CD9#FFFFFF#000000##000000
##799CD91.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A0DC
Deuteranopia (green-blind)
#7B97D8
Tritanopia (blue-blind)
#55A9B1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #799cd9;
/* rgb */ color: rgb(121, 156, 217);
/* oklch */ color: oklch(69.1% 0.099 261.2);
Tailwind
colors: {
  custom: {
    50: '#a4b9e5',
    500: '#799cd9',
    950: '#000000',
  },
}
SCSS
$custom: #799cd9;
$custom-light: #a4b9e5;
$custom-dark: #000000;
JSON
{
  "hex": "#799cd9",
  "rgb": {
    "r": 121,
    "g": 156,
    "b": 217
  },
  "hsl": {
    "h": 218.125,
    "s": 55.814,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69105,
    "c": 0.09854,
    "h": 261.2
  },
  "luminance": 0.32852
}

Semantic roles & 50–950 ramp

primary
#799CD9
secondary
#E7DBC7
accent
#8922C3
background
#FAFBFE
surface
#F4F6FC
border
#CED0D5
text
#0F1115
muted
#7F8084

Preview Lab

Preview with #799CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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