#799CD7#799CD7

#799CD7 is a light, moderate blue. Relative luminance 0.327; OKLCH L 69.0% C 0.096 H 260.6°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#799CD7
RGBrgb(121, 156, 215)
HSLhsl(218, 54%, 66%)
HSVhsv(218, 44%, 84%)
CMYKcmyk(43.7%, 27.4%, 0%, 15.7%)
CIE-LABlab(63.95, 3.33, -33.86)
CIE-LCHlch(63.95, 34.02, 275.62°)
OKLaboklab(69.01% -0.0157 -0.0946)
OKLCHoklch(69.01% 0.096 260.6)
XYZxyz(32.0354, 32.7463, 68.9094)
Luminance0.3275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799CD7 #D7B479
analogous
#79CBD7 #799CD7 #8579D7
triadic
#799CD7 #D7799C #9CD779
tetradic
#799CD7 #D779CB #D7B479 #79D785
square
#799CD7 #D779CB #D7B479 #79D785
split-complementary
#799CD7 #D78579 #CBD779
monochromatic
#315CA4 #4A79C9 #799CD7 #A8BFE5 #D7E2F3

Accessibility & contrast

On white

2.78
#799CD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#799CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #799CD7
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799CD7#FFFFFF#000000##000000
##799CD71.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A0DA
Deuteranopia (green-blind)
#7C97D6
Tritanopia (blue-blind)
#56A9B1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #799cd7;
/* rgb */ color: rgb(121, 156, 215);
/* oklch */ color: oklch(69.0% 0.096 260.6);
Tailwind
colors: {
  custom: {
    50: '#a3b9e3',
    500: '#799cd7',
    950: '#000000',
  },
}
SCSS
$custom: #799cd7;
$custom-light: #a3b9e3;
$custom-dark: #000000;
JSON
{
  "hex": "#799cd7",
  "rgb": {
    "r": 121,
    "g": 156,
    "b": 215
  },
  "hsl": {
    "h": 217.66,
    "s": 54.023,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69012,
    "c": 0.09585,
    "h": 260.6
  },
  "luminance": 0.32748
}

Semantic roles & 50–950 ramp

primary
#799CD7
secondary
#E5DAC6
accent
#8724C1
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #799CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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