#799CD4#799CD4

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

Color values

HEX#799CD4
RGBrgb(121, 156, 212)
HSLhsl(217, 51%, 65%)
HSVhsv(217, 43%, 83%)
CMYKcmyk(42.9%, 26.4%, 0%, 16.9%)
CIE-LABlab(63.83, 2.48, -32.39)
CIE-LCHlch(63.83, 32.48, 274.38°)
OKLaboklab(68.87% -0.0166 -0.0903)
OKLCHoklch(68.87% 0.092 259.6)
XYZxyz(31.6535, 32.5935, 66.8979)
Luminance0.3260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799CD4 #D4B179
analogous
#79C9D4 #799CD4 #8379D4
triadic
#799CD4 #D4799C #9CD479
tetradic
#799CD4 #D479C9 #D4B179 #79D483
square
#799CD4 #D479C9 #D4B179 #79D483
split-complementary
#799CD4 #D48379 #C9D479
monochromatic
#335D9F #4B7AC5 #799CD4 #A7BEE3 #D6E0F2

Accessibility & contrast

On white

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

On black

7.52
#799CD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #799CD4
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799CD4#FFFFFF#000000##000000
##799CD41.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#879FD6
Deuteranopia (green-blind)
#7D97D3
Tritanopia (blue-blind)
#58A8AF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #799cd4;
/* rgb */ color: rgb(121, 156, 212);
/* oklch */ color: oklch(68.9% 0.092 259.6);
Tailwind
colors: {
  custom: {
    50: '#a3b9e1',
    500: '#799cd4',
    950: '#000000',
  },
}
SCSS
$custom: #799cd4;
$custom-light: #a3b9e1;
$custom-dark: #000000;
JSON
{
  "hex": "#799cd4",
  "rgb": {
    "r": 121,
    "g": 156,
    "b": 212
  },
  "hsl": {
    "h": 216.923,
    "s": 51.412,
    "l": 65.294
  },
  "oklch": {
    "l": 0.68873,
    "c": 0.09183,
    "h": 259.6
  },
  "luminance": 0.32595
}

Semantic roles & 50–950 ramp

primary
#799CD4
secondary
#E4D8C5
accent
#8427BF
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #799CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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