#7D8EFB#7D8EFB

#7D8EFB is a light, vivid blue. Relative luminance 0.307; OKLCH L 68.3% C 0.161 H 274.7°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#7D8EFB
RGBrgb(125, 142, 251)
HSLhsl(232, 94%, 74%)
HSVhsv(232, 50%, 98%)
CMYKcmyk(50.2%, 43.4%, 0%, 1.6%)
CIE-LABlab(62.23, 23.02, -56.43)
CIE-LCHlch(62.23, 60.95, 292.19°)
OKLaboklab(68.3% 0.0131 -0.1602)
OKLCHoklch(68.3% 0.161 274.7)
XYZxyz(35.5375, 30.6688, 95.2951)
Luminance0.3067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8EFB #FBEA7D
analogous
#7DCDFB #7D8EFB #AB7DFB
triadic
#7D8EFB #FB7D8E #8EFB7D
tetradic
#7D8EFB #FB7DCD #FBEA7D #7DFBAB
square
#7D8EFB #FB7DCD #FBEA7D #7DFBAB
split-complementary
#7D8EFB #FBAB7D #CDFB7D
monochromatic
#0828F6 #425AF9 #7D8EFB #B8C2FD #E1E5FE

Accessibility & contrast

On white

2.94
#7D8EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#7D8EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7D8EFB
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8EFB#FFFFFF#000000##000000
##7D8EFB1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#619CFF
Deuteranopia (green-blind)
#5491F9
Tritanopia (blue-blind)
#48A5B8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7d8efb;
/* rgb */ color: rgb(125, 142, 251);
/* oklch */ color: oklch(68.3% 0.161 274.7);
Tailwind
colors: {
  custom: {
    50: '#aaaefd',
    500: '#7d8efb',
    950: '#000000',
  },
}
SCSS
$custom: #7d8efb;
$custom-light: #aaaefd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8efb",
  "rgb": {
    "r": 125,
    "g": 142,
    "b": 251
  },
  "hsl": {
    "h": 231.905,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68302,
    "c": 0.16075,
    "h": 274.7
  },
  "luminance": 0.30671
}

Semantic roles & 50–950 ramp

primary
#7D8EFB
secondary
#F6F2D5
accent
#C700E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#111018
muted
#807F86

Preview Lab

Preview with #7D8EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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