#7A8DFB#7A8DFB

#7A8DFB is a light, vivid blue. Relative luminance 0.302; OKLCH L 67.9% C 0.163 H 273.9°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#7A8DFB
RGBrgb(122, 141, 251)
HSLhsl(231, 94%, 73%)
HSVhsv(231, 51%, 98%)
CMYKcmyk(51.4%, 43.8%, 0%, 1.6%)
CIE-LABlab(61.78, 22.96, -57.15)
CIE-LCHlch(61.78, 61.59, 291.89°)
OKLaboklab(67.91% 0.0111 -0.1624)
OKLCHoklch(67.91% 0.163 273.9)
XYZxyz(34.9579, 30.1501, 95.2255)
Luminance0.3015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8DFB #FBE87A
analogous
#7ACDFB #7A8DFB #A77AFB
triadic
#7A8DFB #FB7A8D #8DFB7A
tetradic
#7A8DFB #FB7ACD #FBE87A #7AFBA7
square
#7A8DFB #FB7ACD #FBE87A #7AFBA7
split-complementary
#7A8DFB #FBA77A #CDFB7A
monochromatic
#072AF3 #3F5AF9 #7A8DFB #B5C0FD #E1E6FE

Accessibility & contrast

On white

2.99
#7A8DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#7A8DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7A8DFB
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8DFB#FFFFFF#000000##000000
##7A8DFB1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9BFF
Deuteranopia (green-blind)
#5090F9
Tritanopia (blue-blind)
#40A5B8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7a8dfb;
/* rgb */ color: rgb(122, 141, 251);
/* oklch */ color: oklch(67.9% 0.163 273.9);
Tailwind
colors: {
  custom: {
    50: '#a8aefd',
    500: '#7a8dfb',
    950: '#000000',
  },
}
SCSS
$custom: #7a8dfb;
$custom-light: #a8aefd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8dfb",
  "rgb": {
    "r": 122,
    "g": 141,
    "b": 251
  },
  "hsl": {
    "h": 231.163,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67914,
    "c": 0.16277,
    "h": 273.9
  },
  "luminance": 0.30152
}

Semantic roles & 50–950 ramp

primary
#7A8DFB
secondary
#F6F1D5
accent
#C400E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #7A8DFB

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

Preview Lab → · Contrast checker → · Palette generator →

#7A8DFB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva