#797FCA#797FCA

#797FCA is a light, moderate blue. Relative luminance 0.235; OKLCH L 62.3% C 0.113 H 279.1°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#797FCA
RGBrgb(121, 127, 202)
HSLhsl(236, 43%, 63%)
HSVhsv(236, 40%, 79%)
CMYKcmyk(40.1%, 37.1%, 0%, 20.8%)
CIE-LABlab(55.59, 16.54, -39.64)
CIE-LCHlch(55.59, 42.96, 292.65°)
OKLaboklab(62.34% 0.0178 -0.1113)
OKLCHoklch(62.34% 0.113 279.1)
XYZxyz(26.1321, 23.5069, 59.0260)
Luminance0.2351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797FCA #CAC479
analogous
#79A7CA #797FCA #9B79CA
triadic
#797FCA #CA797F #7FCA79
tetradic
#797FCA #CA79A7 #CAC479 #79CA9B
square
#797FCA #CA79A7 #CAC479 #79CA9B
split-complementary
#797FCA #CA9B79 #A7CA79
monochromatic
#393F90 #4D55B9 #797FCA #A5A9DB #D1D3ED

Accessibility & contrast

On white

3.68
#797FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#797FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797FCA
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797FCA#FFFFFF#000000##000000
##797FCA1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6688CD
Deuteranopia (green-blind)
#6082C8
Tritanopia (blue-blind)
#608E9B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #797fca;
/* rgb */ color: rgb(121, 127, 202);
/* oklch */ color: oklch(62.3% 0.113 279.1);
Tailwind
colors: {
  custom: {
    50: '#a3a4da',
    500: '#797fca',
    950: '#000000',
  },
}
SCSS
$custom: #797fca;
$custom-light: #a3a4da;
$custom-dark: #000000;
JSON
{
  "hex": "#797fca",
  "rgb": {
    "r": 121,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 235.556,
    "s": 43.316,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6234,
    "c": 0.11276,
    "h": 279.1
  },
  "luminance": 0.23508
}

Semantic roles & 50–950 ramp

primary
#797FCA
secondary
#DEDCC1
accent
#AC2FB6
background
#FAFAFD
surface
#F4F3FB
border
#CECDD4
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #797FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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