#7F8FE3#7F8FE3

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

Color values

HEX#7F8FE3
RGBrgb(127, 143, 227)
HSLhsl(230, 64%, 69%)
HSVhsv(230, 44%, 89%)
CMYKcmyk(44.1%, 37%, 0%, 11%)
CIE-LABlab(61.40, 15.81, -44.50)
CIE-LCHlch(61.40, 47.22, 289.55°)
OKLaboklab(67.3% 0.0096 -0.1253)
OKLCHoklch(67.3% 0.126 274.4)
XYZxyz(32.4357, 29.7013, 76.6820)
Luminance0.2970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8FE3 #E3D37F
analogous
#7FC1E3 #7F8FE3 #A17FE3
triadic
#7F8FE3 #E37F8F #8FE37F
tetradic
#7F8FE3 #E37FC1 #E3D37F #7FE3A1
square
#7F8FE3 #E37FC1 #E3D37F #7FE3A1
split-complementary
#7F8FE3 #E3A17F #C1E37F
monochromatic
#2A41BE #4D63D8 #7F8FE3 #B1BBEE #E3E7F9

Accessibility & contrast

On white

3.03
#7F8FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F8FE3#FFFFFF#000000##000000
##7F8FE31.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7199E6
Deuteranopia (green-blind)
#6890E1
Tritanopia (blue-blind)
#5CA0AE
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7f8fe3;
/* rgb */ color: rgb(127, 143, 227);
/* oklch */ color: oklch(67.3% 0.126 274.4);
Tailwind
colors: {
  custom: {
    50: '#a8afec',
    500: '#7f8fe3',
    950: '#000000',
  },
}
SCSS
$custom: #7f8fe3;
$custom-light: #a8afec;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8fe3",
  "rgb": {
    "r": 127,
    "g": 143,
    "b": 227
  },
  "hsl": {
    "h": 230.4,
    "s": 64.103,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67302,
    "c": 0.12565,
    "h": 274.4
  },
  "luminance": 0.29703
}

Semantic roles & 50–950 ramp

primary
#7F8FE3
secondary
#EDE9D0
accent
#AF1ACC
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #7F8FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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