#7797DF#7797DF

#7797DF is a light, moderate blue. Relative luminance 0.314; OKLCH L 68.2% C 0.113 H 265.3°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#7797DF
RGBrgb(119, 151, 223)
HSLhsl(222, 62%, 67%)
HSVhsv(222, 47%, 87%)
CMYKcmyk(46.6%, 32.3%, 0%, 12.5%)
CIE-LABlab(62.83, 8.02, -40.06)
CIE-LCHlch(62.83, 40.86, 281.32°)
OKLaboklab(68.22% -0.0093 -0.1125)
OKLCHoklch(68.22% 0.113 265.3)
XYZxyz(31.9893, 31.3809, 74.1692)
Luminance0.3138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7797DF #DFBF77
analogous
#77CBDF #7797DF #8B77DF
triadic
#7797DF #DF7797 #97DF77
tetradic
#7797DF #DF77CB #DFBF77 #77DF8B
square
#7797DF #DF77CB #DFBF77 #77DF8B
split-complementary
#7797DF #DF8B77 #CBDF77
monochromatic
#2A54B2 #4571D3 #7797DF #A9BDEB #DAE3F6

Accessibility & contrast

On white

2.89
#7797DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#7797DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7797DF
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7797DF#FFFFFF#000000##000000
##7797DF1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9DE2
Deuteranopia (green-blind)
#7194DD
Tritanopia (blue-blind)
#4EA6B1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7797df;
/* rgb */ color: rgb(119, 151, 223);
/* oklch */ color: oklch(68.2% 0.113 265.3);
Tailwind
colors: {
  custom: {
    50: '#a3b5e9',
    500: '#7797df',
    950: '#000000',
  },
}
SCSS
$custom: #7797df;
$custom-light: #a3b5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7797df",
  "rgb": {
    "r": 119,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 221.538,
    "s": 61.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.68217,
    "c": 0.1129,
    "h": 265.3
  },
  "luminance": 0.31383
}

Semantic roles & 50–950 ramp

primary
#7797DF
secondary
#E9DFC8
accent
#941CCA
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#0F1116
muted
#7F8084

Preview Lab

Preview with #7797DF

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

Preview Lab → · Contrast checker → · Palette generator →

#7797DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva