#7E8CF0#7E8CF0

#7E8CF0 is a light, vivid blue. Relative luminance 0.295; OKLCH L 67.3% C 0.148 H 275.7°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#7E8CF0
RGBrgb(126, 140, 240)
HSLhsl(233, 79%, 72%)
HSVhsv(233, 48%, 94%)
CMYKcmyk(47.5%, 41.7%, 0%, 5.9%)
CIE-LABlab(61.20, 21.13, -52.00)
CIE-LCHlch(61.20, 56.13, 292.12°)
OKLaboklab(67.35% 0.0146 -0.1472)
OKLCHoklch(67.35% 0.148 275.7)
XYZxyz(33.7055, 29.4811, 86.3356)
Luminance0.2948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8CF0 #F0E27E
analogous
#7EC5F0 #7E8CF0 #A97EF0
triadic
#7E8CF0 #F07E8C #8CF07E
tetradic
#7E8CF0 #F07EC5 #F0E27E #7EF0A9
square
#7E8CF0 #F07EC5 #F0E27E #7EF0A9
split-complementary
#7E8CF0 #F0A97E #C5F07E
monochromatic
#1931DA #475BEA #7E8CF0 #B5BDF6 #E4E7FC

Accessibility & contrast

On white

3.04
#7E8CF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#7E8CF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8CF0
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8CF0#FFFFFF#000000##000000
##7E8CF01.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6599F4
Deuteranopia (green-blind)
#5B8FEE
Tritanopia (blue-blind)
#53A1B2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7e8cf0;
/* rgb */ color: rgb(126, 140, 240);
/* oklch */ color: oklch(67.3% 0.148 275.7);
Tailwind
colors: {
  custom: {
    50: '#a9adf5',
    500: '#7e8cf0',
    950: '#000000',
  },
}
SCSS
$custom: #7e8cf0;
$custom-light: #a9adf5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8cf0",
  "rgb": {
    "r": 126,
    "g": 140,
    "b": 240
  },
  "hsl": {
    "h": 232.632,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67349,
    "c": 0.14796,
    "h": 275.7
  },
  "luminance": 0.29483
}

Semantic roles & 50–950 ramp

primary
#7E8CF0
secondary
#F3F0D6
accent
#C20ADB
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E8CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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