#7A8DEF#7A8DEF

#7A8DEF is a light, vivid blue. Relative luminance 0.294; OKLCH L 67.2% C 0.146 H 273.6°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#7A8DEF
RGBrgb(122, 141, 239)
HSLhsl(230, 79%, 71%)
HSVhsv(230, 49%, 94%)
CMYKcmyk(49%, 41%, 0%, 6.3%)
CIE-LABlab(61.15, 19.33, -51.56)
CIE-LCHlch(61.15, 55.06, 290.56°)
OKLaboklab(67.22% 0.0091 -0.146)
OKLCHoklch(67.22% 0.146 273.6)
XYZxyz(33.1260, 29.4173, 85.5772)
Luminance0.2942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8DEF #EFDC7A
analogous
#7AC8EF #7A8DEF #A17AEF
triadic
#7A8DEF #EF7A8D #8DEF7A
tetradic
#7A8DEF #EF7AC8 #EFDC7A #7AEFA1
square
#7A8DEF #EF7AC8 #EFDC7A #7AEFA1
split-complementary
#7A8DEF #EFA17A #C8EF7A
monochromatic
#1A38D5 #435EE8 #7A8DEF #B1BCF6 #E4E8FC

Accessibility & contrast

On white

3.05
#7A8DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#7A8DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8DEF
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8DEF#FFFFFF#000000##000000
##7A8DEF1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F3
Deuteranopia (green-blind)
#5B8FED
Tritanopia (blue-blind)
#4BA2B2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7a8def;
/* rgb */ color: rgb(122, 141, 239);
/* oklch */ color: oklch(67.2% 0.146 273.6);
Tailwind
colors: {
  custom: {
    50: '#a7aef5',
    500: '#7a8def',
    950: '#000000',
  },
}
SCSS
$custom: #7a8def;
$custom-light: #a7aef5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8def",
  "rgb": {
    "r": 122,
    "g": 141,
    "b": 239
  },
  "hsl": {
    "h": 230.256,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67222,
    "c": 0.14628,
    "h": 273.6
  },
  "luminance": 0.29419
}

Semantic roles & 50–950 ramp

primary
#7A8DEF
secondary
#F2EDD3
accent
#B90BDB
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7A8DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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