#7798F2#7798F2

#7798F2 is a light, vivid blue. Relative luminance 0.328; OKLCH L 69.4% C 0.138 H 267.5°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#7798F2
RGBrgb(119, 152, 242)
HSLhsl(224, 83%, 71%)
HSVhsv(224, 51%, 95%)
CMYKcmyk(50.8%, 37.2%, 0%, 5.1%)
CIE-LABlab(63.99, 13.12, -48.72)
CIE-LCHlch(63.99, 50.46, 285.07°)
OKLaboklab(69.41% -0.006 -0.1377)
OKLCHoklch(69.41% 0.138 267.5)
XYZxyz(34.8577, 32.7868, 88.4789)
Luminance0.3279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7798F2 #F2D177
analogous
#77D6F2 #7798F2 #9377F2
triadic
#7798F2 #F27798 #98F277
tetradic
#7798F2 #F277D6 #F2D177 #77F293
square
#7798F2 #F277D6 #F2D177 #77F293
split-complementary
#7798F2 #F29377 #D6F277
monochromatic
#154ADA #3F6EED #7798F2 #AFC2F7 #E3EAFC

Accessibility & contrast

On white

2.78
#7798F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#7798F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7798F2
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7798F2#FFFFFF#000000##000000
##7798F21.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A1F6
Deuteranopia (green-blind)
#6796F0
Tritanopia (blue-blind)
#3EABB9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7798f2;
/* rgb */ color: rgb(119, 152, 242);
/* oklch */ color: oklch(69.4% 0.138 267.5);
Tailwind
colors: {
  custom: {
    50: '#a5b6f7',
    500: '#7798f2',
    950: '#000000',
  },
}
SCSS
$custom: #7798f2;
$custom-light: #a5b6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7798f2",
  "rgb": {
    "r": 119,
    "g": 152,
    "b": 242
  },
  "hsl": {
    "h": 223.902,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69409,
    "c": 0.13784,
    "h": 267.5
  },
  "luminance": 0.32789
}

Semantic roles & 50–950 ramp

primary
#7798F2
secondary
#F3EAD2
accent
#A507DF
background
#FAFBFF
surface
#F4F6FE
border
#CED0D6
text
#101117
muted
#7F8085

Preview Lab

Preview with #7798F2

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

Preview Lab → · Contrast checker → · Palette generator →

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