#799BCC#799BCC

#799BCC is a light, moderate blue. Relative luminance 0.319; OKLCH L 68.3% C 0.082 H 257.5°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#799BCC
RGBrgb(121, 155, 204)
HSLhsl(215, 45%, 64%)
HSVhsv(215, 41%, 80%)
CMYKcmyk(40.7%, 24%, 0%, 20%)
CIE-LABlab(63.23, 0.81, -28.86)
CIE-LCHlch(63.23, 28.87, 271.60°)
OKLaboklab(68.3% -0.0178 -0.0802)
OKLCHoklch(68.3% 0.082 257.5)
XYZxyz(30.5021, 31.8656, 61.6585)
Luminance0.3187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799BCC #CCAA79
analogous
#79C4CC #799BCC #8079CC
triadic
#799BCC #CC799B #9BCC79
tetradic
#799BCC #CC79C4 #CCAA79 #79CC80
square
#799BCC #CC79C4 #CCAA79 #79CC80
split-complementary
#799BCC #CC8079 #C4CC79
monochromatic
#385D93 #4D7ABB #799BCC #A5BCDD #D2DDEE

Accessibility & contrast

On white

2.85
#799BCC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#799BCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #799BCC
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799BCC#FFFFFF#000000##000000
##799BCC1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#899DCE
Deuteranopia (green-blind)
#8095CB
Tritanopia (blue-blind)
#5CA6AC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #799bcc;
/* rgb */ color: rgb(121, 155, 204);
/* oklch */ color: oklch(68.3% 0.082 257.5);
Tailwind
colors: {
  custom: {
    50: '#a3b8db',
    500: '#799bcc',
    950: '#000000',
  },
}
SCSS
$custom: #799bcc;
$custom-light: #a3b8db;
$custom-dark: #000000;
JSON
{
  "hex": "#799bcc",
  "rgb": {
    "r": 121,
    "g": 155,
    "b": 204
  },
  "hsl": {
    "h": 215.422,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.68298,
    "c": 0.08218,
    "h": 257.5
  },
  "luminance": 0.31867
}

Semantic roles & 50–950 ramp

primary
#799BCC
secondary
#DFD3C2
accent
#7F2DB8
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #799BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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