#799ACC#799ACC

#799ACC is a light, moderate blue. Relative luminance 0.315; OKLCH L 68.1% C 0.083 H 258.5°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#799ACC
RGBrgb(121, 154, 204)
HSLhsl(216, 45%, 64%)
HSVhsv(216, 41%, 80%)
CMYKcmyk(40.7%, 24.5%, 0%, 20%)
CIE-LABlab(62.96, 1.37, -29.29)
CIE-LCHlch(62.96, 29.32, 272.68°)
OKLaboklab(68.08% -0.0165 -0.0814)
OKLCHoklch(68.08% 0.083 258.5)
XYZxyz(30.3364, 31.5341, 61.6032)
Luminance0.3154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799ACC #CCAB79
analogous
#79C3CC #799ACC #8179CC
triadic
#799ACC #CC799A #9ACC79
tetradic
#799ACC #CC79C3 #CCAB79 #79CC81
square
#799ACC #CC79C3 #CCAB79 #79CC81
split-complementary
#799ACC #CC8179 #C3CC79
monochromatic
#385C93 #4D79BB #799ACC #A5BBDD #D2DDEE

Accessibility & contrast

On white

2.87
#799ACC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#799ACC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #799ACC
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799ACC#FFFFFF#000000##000000
##799ACC1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#889DCE
Deuteranopia (green-blind)
#7F95CB
Tritanopia (blue-blind)
#5CA5AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #799acc;
/* rgb */ color: rgb(121, 154, 204);
/* oklch */ color: oklch(68.1% 0.083 258.5);
Tailwind
colors: {
  custom: {
    50: '#a3b7db',
    500: '#799acc',
    950: '#000000',
  },
}
SCSS
$custom: #799acc;
$custom-light: #a3b7db;
$custom-dark: #000000;
JSON
{
  "hex": "#799acc",
  "rgb": {
    "r": 121,
    "g": 154,
    "b": 204
  },
  "hsl": {
    "h": 216.145,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.68082,
    "c": 0.08309,
    "h": 258.5
  },
  "luminance": 0.31536
}

Semantic roles & 50–950 ramp

primary
#799ACC
secondary
#DFD3C2
accent
#812DB8
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #799ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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