#797BBE#797BBE

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

Color values

HEX#797BBE
RGBrgb(121, 123, 190)
HSLhsl(238, 35%, 61%)
HSVhsv(238, 36%, 75%)
CMYKcmyk(36.3%, 35.3%, 0%, 25.5%)
CIE-LABlab(53.97, 15.56, -35.35)
CIE-LCHlch(53.97, 38.63, 293.76°)
OKLaboklab(60.91% 0.0204 -0.0989)
OKLCHoklch(60.91% 0.101 281.6)
XYZxyz(24.2598, 21.9477, 51.6633)
Luminance0.2195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797BBE #BEBC79
analogous
#799DBE #797BBE #9979BE
triadic
#797BBE #BE797B #7BBE79
tetradic
#797BBE #BE799D #BEBC79 #79BE99
square
#797BBE #BE799D #BEBC79 #79BE99
split-complementary
#797BBE #BE9979 #9DBE79
monochromatic
#3E3F7F #5254A8 #797BBE #A2A4D2 #CBCCE6

Accessibility & contrast

On white

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

On black

5.39
#797BBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797BBE
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797BBE#FFFFFF#000000##000000
##797BBE1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6683C1
Deuteranopia (green-blind)
#627FBC
Tritanopia (blue-blind)
#668894
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #797bbe;
/* rgb */ color: rgb(121, 123, 190);
/* oklch */ color: oklch(60.9% 0.101 281.6);
Tailwind
colors: {
  custom: {
    50: '#a2a1d2',
    500: '#797bbe',
    950: '#000000',
  },
}
SCSS
$custom: #797bbe;
$custom-light: #a2a1d2;
$custom-dark: #000000;
JSON
{
  "hex": "#797bbe",
  "rgb": {
    "r": 121,
    "g": 123,
    "b": 190
  },
  "hsl": {
    "h": 238.261,
    "s": 34.673,
    "l": 60.98
  },
  "oklch": {
    "l": 0.6091,
    "c": 0.10098,
    "h": 281.6
  },
  "luminance": 0.21949
}

Semantic roles & 50–950 ramp

primary
#797BBE
secondary
#D6D6BC
accent
#AA38AE
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #797BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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