#7792F2#7792F2

#7792F2 is a light, vivid blue. Relative luminance 0.309; OKLCH L 68.2% C 0.145 H 270.3°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#7792F2
RGBrgb(119, 146, 242)
HSLhsl(227, 83%, 71%)
HSVhsv(227, 51%, 95%)
CMYKcmyk(50.8%, 39.7%, 0%, 5.1%)
CIE-LABlab(62.41, 16.63, -51.22)
CIE-LCHlch(62.41, 53.85, 287.99°)
OKLaboklab(68.19% 0.0009 -0.145)
OKLCHoklch(68.19% 0.145 270.3)
XYZxyz(33.9084, 30.8883, 88.1624)
Luminance0.3089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7792F2 #F2D777
analogous
#77CFF2 #7792F2 #9977F2
triadic
#7792F2 #F27792 #92F277
tetradic
#7792F2 #F277CF #F2D777 #77F299
square
#7792F2 #F277CF #F2D777 #77F299
split-complementary
#7792F2 #F29977 #CFF277
monochromatic
#1540DA #3F65ED #7792F2 #AFBFF7 #E3E9FC

Accessibility & contrast

On white

2.93
#7792F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#7792F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7792F2
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7792F2#FFFFFF#000000##000000
##7792F21.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9DF6
Deuteranopia (green-blind)
#5E92F0
Tritanopia (blue-blind)
#40A7B6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7792f2;
/* rgb */ color: rgb(119, 146, 242);
/* oklch */ color: oklch(68.2% 0.145 270.3);
Tailwind
colors: {
  custom: {
    50: '#a5b1f7',
    500: '#7792f2',
    950: '#000000',
  },
}
SCSS
$custom: #7792f2;
$custom-light: #a5b1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7792f2",
  "rgb": {
    "r": 119,
    "g": 146,
    "b": 242
  },
  "hsl": {
    "h": 226.829,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68195,
    "c": 0.14503,
    "h": 270.3
  },
  "luminance": 0.30891
}

Semantic roles & 50–950 ramp

primary
#7792F2
secondary
#F3ECD2
accent
#AF07DF
background
#FAFAFF
surface
#F4F5FF
border
#CECFD7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7792F2

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

Preview Lab → · Contrast checker → · Palette generator →

#7792F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva