#7781FB#7781FB

#7781FB is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.4% C 0.179 H 276.7°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7781FB
RGBrgb(119, 129, 251)
HSLhsl(235, 94%, 73%)
HSVhsv(235, 53%, 98%)
CMYKcmyk(52.6%, 48.6%, 0%, 1.6%)
CIE-LABlab(58.59, 29.44, -62.27)
CIE-LCHlch(58.59, 68.88, 295.30°)
OKLaboklab(65.44% 0.021 -0.1776)
OKLCHoklch(65.44% 0.179 276.7)
XYZxyz(32.8651, 26.5854, 94.6478)
Luminance0.2659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7781FB #FBF177
analogous
#77C3FB #7781FB #AF77FB
triadic
#7781FB #FB7781 #81FB77
tetradic
#7781FB #FB77C3 #FBF177 #77FBAF
square
#7781FB #FB77C3 #FBF177 #77FBAF
split-complementary
#7781FB #FBAF77 #C3FB77
monochromatic
#0719F1 #3C4AF9 #7781FB #B2B8FD #E1E3FE

Accessibility & contrast

On white

3.32
#7781FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#7781FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7781FB
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7781FB#FFFFFF#000000##000000
##7781FB1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4692FF
Deuteranopia (green-blind)
#3688F8
Tritanopia (blue-blind)
#3A9CB2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7781fb;
/* rgb */ color: rgb(119, 129, 251);
/* oklch */ color: oklch(65.4% 0.179 276.7);
Tailwind
colors: {
  custom: {
    50: '#a7a5fd',
    500: '#7781fb',
    950: '#000000',
  },
}
SCSS
$custom: #7781fb;
$custom-light: #a7a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7781fb",
  "rgb": {
    "r": 119,
    "g": 129,
    "b": 251
  },
  "hsl": {
    "h": 235.455,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.6544,
    "c": 0.17883,
    "h": 276.7
  },
  "luminance": 0.26587
}

Semantic roles & 50–950 ramp

primary
#7781FB
secondary
#F6F4D5
accent
#D400E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #7781FB

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

Preview Lab → · Contrast checker → · Palette generator →

#7781FB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva