#7E8DEF#7E8DEF

#7E8DEF is a light, vivid blue. Relative luminance 0.297; OKLCH L 67.5% C 0.145 H 275.2°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7E8DEF
RGBrgb(126, 141, 239)
HSLhsl(232, 78%, 72%)
HSVhsv(232, 47%, 94%)
CMYKcmyk(47.3%, 41%, 0%, 6.3%)
CIE-LABlab(61.41, 20.25, -51.13)
CIE-LCHlch(61.41, 54.99, 291.61°)
OKLaboklab(67.49% 0.0133 -0.1447)
OKLCHoklch(67.49% 0.145 275.2)
XYZxyz(33.7042, 29.7155, 85.6043)
Luminance0.2972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8DEF #EFE07E
analogous
#7EC6EF #7E8DEF #A87EEF
triadic
#7E8DEF #EF7E8D #8DEF7E
tetradic
#7E8DEF #EF7EC6 #EFE07E #7EEFA8
square
#7E8DEF #EF7EC6 #EFE07E #7EEFA8
split-complementary
#7E8DEF #EFA87E #C6EF7E
monochromatic
#1B34D8 #485DE8 #7E8DEF #B4BDF6 #E4E7FC

Accessibility & contrast

On white

3.02
#7E8DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#7E8DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8DEF
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8DEF#FFFFFF#000000##000000
##7E8DEF1.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F3
Deuteranopia (green-blind)
#5D90ED
Tritanopia (blue-blind)
#53A2B2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7e8def;
/* rgb */ color: rgb(126, 141, 239);
/* oklch */ color: oklch(67.5% 0.145 275.2);
Tailwind
colors: {
  custom: {
    50: '#a9aef5',
    500: '#7e8def',
    950: '#000000',
  },
}
SCSS
$custom: #7e8def;
$custom-light: #a9aef5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8def",
  "rgb": {
    "r": 126,
    "g": 141,
    "b": 239
  },
  "hsl": {
    "h": 232.035,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67488,
    "c": 0.14528,
    "h": 275.2
  },
  "luminance": 0.29717
}

Semantic roles & 50–950 ramp

primary
#7E8DEF
secondary
#F3EFD6
accent
#BF0BDA
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E8DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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