#797DBF#797DBF

#797DBF is a mid, moderate blue. Relative luminance 0.225; OKLCH L 61.4% C 0.100 H 280.4°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#797DBF
RGBrgb(121, 125, 191)
HSLhsl(237, 35%, 61%)
HSVhsv(237, 37%, 75%)
CMYKcmyk(36.6%, 34.6%, 0%, 25.1%)
CIE-LABlab(54.55, 14.65, -35.02)
CIE-LCHlch(54.55, 37.96, 292.70°)
OKLaboklab(61.37% 0.0179 -0.0979)
OKLCHoklch(61.37% 0.1 280.4)
XYZxyz(24.6201, 22.4929, 52.3245)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797DBF #BFBB79
analogous
#79A0BF #797DBF #9879BF
triadic
#797DBF #BF797D #7DBF79
tetradic
#797DBF #BF79A0 #BFBB79 #79BF98
square
#797DBF #BF79A0 #BFBB79 #79BF98
split-complementary
#797DBF #BF9879 #A0BF79
monochromatic
#3D4180 #5156AA #797DBF #A2A5D3 #CCCDE7

Accessibility & contrast

On white

3.82
#797DBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#797DBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797DBF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797DBF#FFFFFF#000000##000000
##797DBF1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6885C2
Deuteranopia (green-blind)
#6480BD
Tritanopia (blue-blind)
#658A95
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #797dbf;
/* rgb */ color: rgb(121, 125, 191);
/* oklch */ color: oklch(61.4% 0.100 280.4);
Tailwind
colors: {
  custom: {
    50: '#a2a2d2',
    500: '#797dbf',
    950: '#000000',
  },
}
SCSS
$custom: #797dbf;
$custom-light: #a2a2d2;
$custom-dark: #000000;
JSON
{
  "hex": "#797dbf",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 191
  },
  "hsl": {
    "h": 236.571,
    "s": 35.354,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61367,
    "c": 0.09958,
    "h": 280.4
  },
  "luminance": 0.22494
}

Semantic roles & 50–950 ramp

primary
#797DBF
secondary
#D7D6BD
accent
#A737AE
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0F14
muted
#7F7E82

Preview Lab

Preview with #797DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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