#7797EB#7797EB

#7797EB is a light, vivid blue. Relative luminance 0.321; OKLCH L 68.8% C 0.129 H 267.2°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#7797EB
RGBrgb(119, 151, 235)
HSLhsl(223, 74%, 69%)
HSVhsv(223, 49%, 92%)
CMYKcmyk(49.4%, 35.7%, 0%, 7.8%)
CIE-LABlab(63.39, 11.59, -45.82)
CIE-LCHlch(63.39, 47.27, 284.19°)
OKLaboklab(68.83% -0.0064 -0.1293)
OKLCHoklch(68.83% 0.129 267.2)
XYZxyz(33.6649, 32.0511, 82.9937)
Luminance0.3205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7797EB #EBCB77
analogous
#77D1EB #7797EB #9177EB
triadic
#7797EB #EB7797 #97EB77
tetradic
#7797EB #EB77D1 #EBCB77 #77EB91
square
#7797EB #EB77D1 #EBCB77 #77EB91
split-complementary
#7797EB #EB9177 #D1EB77
monochromatic
#1E4DCA #426EE3 #7797EB #ACC0F3 #E2E9FB

Accessibility & contrast

On white

2.83
#7797EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#7797EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7797EB
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7797EB#FFFFFF#000000##000000
##7797EB1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FEE
Deuteranopia (green-blind)
#6A95E9
Tritanopia (blue-blind)
#45A9B6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7797eb;
/* rgb */ color: rgb(119, 151, 235);
/* oklch */ color: oklch(68.8% 0.129 267.2);
Tailwind
colors: {
  custom: {
    50: '#a4b5f2',
    500: '#7797eb',
    950: '#000000',
  },
}
SCSS
$custom: #7797eb;
$custom-light: #a4b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7797eb",
  "rgb": {
    "r": 119,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 223.448,
    "s": 74.359,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68832,
    "c": 0.12942,
    "h": 267.2
  },
  "luminance": 0.32053
}

Semantic roles & 50–950 ramp

primary
#7797EB
secondary
#F0E6CE
accent
#9F0FD6
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7797EB

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

Preview Lab → · Contrast checker → · Palette generator →

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