#7798F1#7798F1

#7798F1 is a light, vivid blue. Relative luminance 0.327; OKLCH L 69.4% C 0.136 H 267.4°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#7798F1
RGBrgb(119, 152, 241)
HSLhsl(224, 81%, 71%)
HSVhsv(224, 51%, 95%)
CMYKcmyk(50.6%, 36.9%, 0%, 5.5%)
CIE-LABlab(63.94, 12.82, -48.25)
CIE-LCHlch(63.94, 49.92, 284.88°)
OKLaboklab(69.36% -0.0062 -0.1363)
OKLCHoklch(69.36% 0.136 267.4)
XYZxyz(34.7080, 32.7269, 87.6900)
Luminance0.3273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7798F1 #F1D077
analogous
#77D5F1 #7798F1 #9377F1
triadic
#7798F1 #F17798 #98F177
tetradic
#7798F1 #F177D5 #F1D077 #77F193
square
#7798F1 #F177D5 #F1D077 #77F193
split-complementary
#7798F1 #F19377 #D5F177
monochromatic
#164AD7 #406EEB #7798F1 #AEC2F7 #E3EAFC

Accessibility & contrast

On white

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

On black

7.55
#7798F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7798F1
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7798F1#FFFFFF#000000##000000
##7798F11.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A1F5
Deuteranopia (green-blind)
#6896EF
Tritanopia (blue-blind)
#3FABB9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7798f1;
/* rgb */ color: rgb(119, 152, 241);
/* oklch */ color: oklch(69.4% 0.136 267.4);
Tailwind
colors: {
  custom: {
    50: '#a5b6f6',
    500: '#7798f1',
    950: '#000000',
  },
}
SCSS
$custom: #7798f1;
$custom-light: #a5b6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7798f1",
  "rgb": {
    "r": 119,
    "g": 152,
    "b": 241
  },
  "hsl": {
    "h": 223.77,
    "s": 81.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69355,
    "c": 0.13647,
    "h": 267.4
  },
  "luminance": 0.32729
}

Semantic roles & 50–950 ramp

primary
#7798F1
secondary
#F2EAD1
accent
#A408DE
background
#FAFBFF
surface
#F4F6FE
border
#CED0D6
text
#101117
muted
#7F8085

Preview Lab

Preview with #7798F1

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

Preview Lab → · Contrast checker → · Palette generator →

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