#797DD3#797DD3

#797DD3 is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.4% C 0.128 H 280.0°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#797DD3
RGBrgb(121, 125, 211)
HSLhsl(237, 51%, 65%)
HSVhsv(237, 43%, 83%)
CMYKcmyk(42.7%, 40.8%, 0%, 17.3%)
CIE-LABlab(55.52, 20.31, -44.85)
CIE-LCHlch(55.52, 49.24, 294.37°)
OKLaboklab(62.43% 0.0222 -0.1265)
OKLCHoklch(62.43% 0.128 280)
XYZxyz(26.9732, 23.4341, 64.7174)
Luminance0.2344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797DD3 #D3CF79
analogous
#79AAD3 #797DD3 #A279D3
triadic
#797DD3 #D3797D #7DD379
tetradic
#797DD3 #D379AA #D3CF79 #79D3A2
square
#797DD3 #D379AA #D3CF79 #79D3A2
split-complementary
#797DD3 #D3A279 #AAD379
monochromatic
#34399E #4B50C4 #797DD3 #A7AAE2 #D5D6F1

Accessibility & contrast

On white

3.69
#797DD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#797DD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797DD3
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797DD3#FFFFFF#000000##000000
##797DD31.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E88D6
Deuteranopia (green-blind)
#5882D1
Tritanopia (blue-blind)
#5C8E9E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #797dd3;
/* rgb */ color: rgb(121, 125, 211);
/* oklch */ color: oklch(62.4% 0.128 280.0);
Tailwind
colors: {
  custom: {
    50: '#a4a2e1',
    500: '#797dd3',
    950: '#000000',
  },
}
SCSS
$custom: #797dd3;
$custom-light: #a4a2e1;
$custom-dark: #000000;
JSON
{
  "hex": "#797dd3",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 211
  },
  "hsl": {
    "h": 237.333,
    "s": 50.562,
    "l": 65.098
  },
  "oklch": {
    "l": 0.62429,
    "c": 0.12846,
    "h": 280
  },
  "luminance": 0.23435
}

Semantic roles & 50–950 ramp

primary
#797DD3
secondary
#E3E2C5
accent
#B728BE
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0F15
muted
#7F7E83

Preview Lab

Preview with #797DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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