#797BBD#797BBD

#797BBD is a mid, moderate blue. Relative luminance 0.219; OKLCH L 60.9% C 0.100 H 281.7°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#797BBD
RGBrgb(121, 123, 189)
HSLhsl(238, 34%, 61%)
HSVhsv(238, 36%, 74%)
CMYKcmyk(36%, 34.9%, 0%, 25.9%)
CIE-LABlab(53.93, 15.29, -34.85)
CIE-LCHlch(53.93, 38.06, 293.68°)
OKLaboklab(60.86% 0.0202 -0.0974)
OKLCHoklch(60.86% 0.1 281.7)
XYZxyz(24.1508, 21.9042, 51.0897)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797BBD #BDBB79
analogous
#799DBD #797BBD #9979BD
triadic
#797BBD #BD797B #7BBD79
tetradic
#797BBD #BD799D #BDBB79 #79BD99
square
#797BBD #BD799D #BDBB79 #79BD99
split-complementary
#797BBD #BD9979 #9DBD79
monochromatic
#3E407E #5255A7 #797BBD #A2A3D1 #CBCCE5

Accessibility & contrast

On white

3.90
#797BBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#797BBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797BBD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797BBD#FFFFFF#000000##000000
##797BBD1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6683C0
Deuteranopia (green-blind)
#637FBB
Tritanopia (blue-blind)
#668893
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #797bbd;
/* rgb */ color: rgb(121, 123, 189);
/* oklch */ color: oklch(60.9% 0.100 281.7);
Tailwind
colors: {
  custom: {
    50: '#a2a1d1',
    500: '#797bbd',
    950: '#000000',
  },
}
SCSS
$custom: #797bbd;
$custom-light: #a2a1d1;
$custom-dark: #000000;
JSON
{
  "hex": "#797bbd",
  "rgb": {
    "r": 121,
    "g": 123,
    "b": 189
  },
  "hsl": {
    "h": 238.235,
    "s": 34,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60859,
    "c": 0.09951,
    "h": 281.7
  },
  "luminance": 0.21905
}

Semantic roles & 50–950 ramp

primary
#797BBD
secondary
#D6D5BC
accent
#A939AD
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #797BBD

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

Preview Lab → · Contrast checker → · Palette generator →

#797BBD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva