#799CD5#799CD5

#799CD5 is a light, moderate blue. Relative luminance 0.326; OKLCH L 68.9% C 0.093 H 259.9°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#799CD5
RGBrgb(121, 156, 213)
HSLhsl(217, 52%, 65%)
HSVhsv(217, 43%, 84%)
CMYKcmyk(43.2%, 26.8%, 0%, 16.5%)
CIE-LABlab(63.87, 2.76, -32.88)
CIE-LCHlch(63.87, 32.99, 274.80°)
OKLaboklab(68.92% -0.0163 -0.0917)
OKLCHoklch(68.92% 0.093 259.9)
XYZxyz(31.7800, 32.6441, 67.5643)
Luminance0.3265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799CD5 #D5B279
analogous
#79CAD5 #799CD5 #8479D5
triadic
#799CD5 #D5799C #9CD579
tetradic
#799CD5 #D579CA #D5B279 #79D584
square
#799CD5 #D579CA #D5B279 #79D584
split-complementary
#799CD5 #D58479 #CAD579
monochromatic
#325DA1 #4A7AC6 #799CD5 #A8BEE4 #D6E1F2

Accessibility & contrast

On white

2.79
#799CD5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#799CD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #799CD5
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799CD5#FFFFFF#000000##000000
##799CD51.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A0D8
Deuteranopia (green-blind)
#7D97D4
Tritanopia (blue-blind)
#57A8B0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #799cd5;
/* rgb */ color: rgb(121, 156, 213);
/* oklch */ color: oklch(68.9% 0.093 259.9);
Tailwind
colors: {
  custom: {
    50: '#a3b9e2',
    500: '#799cd5',
    950: '#000000',
  },
}
SCSS
$custom: #799cd5;
$custom-light: #a3b9e2;
$custom-dark: #000000;
JSON
{
  "hex": "#799cd5",
  "rgb": {
    "r": 121,
    "g": 156,
    "b": 213
  },
  "hsl": {
    "h": 217.174,
    "s": 52.273,
    "l": 65.49
  },
  "oklch": {
    "l": 0.68919,
    "c": 0.09317,
    "h": 259.9
  },
  "luminance": 0.32646
}

Semantic roles & 50–950 ramp

primary
#799CD5
secondary
#E4D9C5
accent
#8526C0
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #799CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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