#7F8DEF#7F8DEF

#7F8DEF is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.6% C 0.145 H 275.7°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7F8DEF
RGBrgb(127, 141, 239)
HSLhsl(233, 78%, 72%)
HSVhsv(233, 47%, 94%)
CMYKcmyk(46.9%, 41%, 0%, 6.3%)
CIE-LABlab(61.47, 20.48, -51.02)
CIE-LCHlch(61.47, 54.98, 291.87°)
OKLaboklab(67.56% 0.0143 -0.1443)
OKLCHoklch(67.56% 0.145 275.7)
XYZxyz(33.8524, 29.7919, 85.6113)
Luminance0.2979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8DEF #EFE17F
analogous
#7FC5EF #7F8DEF #A97FEF
triadic
#7F8DEF #EF7F8D #8DEF7F
tetradic
#7F8DEF #EF7FC5 #EFE17F #7FEFA9
square
#7F8DEF #EF7FC5 #EFE17F #7FEFA9
split-complementary
#7F8DEF #EFA97F #C5EF7F
monochromatic
#1B33D9 #495DE8 #7F8DEF #B5BDF6 #E4E7FC

Accessibility & contrast

On white

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

On black

6.96
#7F8DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F8DEF
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8DEF#FFFFFF#000000##000000
##7F8DEF1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f8def;
/* rgb */ color: rgb(127, 141, 239);
/* oklch */ color: oklch(67.6% 0.145 275.7);
Tailwind
colors: {
  custom: {
    50: '#aaaef5',
    500: '#7f8def',
    950: '#000000',
  },
}
SCSS
$custom: #7f8def;
$custom-light: #aaaef5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8def",
  "rgb": {
    "r": 127,
    "g": 141,
    "b": 239
  },
  "hsl": {
    "h": 232.5,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67556,
    "c": 0.14504,
    "h": 275.7
  },
  "luminance": 0.29794
}

Semantic roles & 50–950 ramp

primary
#7F8DEF
secondary
#F3F0D7
accent
#C00BDA
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7F8DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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