#7F9DFD#7F9DFD

#7F9DFD is a light, vivid blue. Relative luminance 0.357; OKLCH L 71.5% C 0.144 H 269.4°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#7F9DFD
RGBrgb(127, 157, 253)
HSLhsl(226, 97%, 75%)
HSVhsv(226, 50%, 99%)
CMYKcmyk(49.8%, 37.9%, 0%, 0.8%)
CIE-LABlab(66.30, 15.31, -51.05)
CIE-LCHlch(66.30, 53.30, 286.69°)
OKLaboklab(71.49% -0.0015 -0.1443)
OKLCHoklch(71.49% 0.144 269.4)
XYZxyz(38.5332, 35.7153, 97.7727)
Luminance0.3572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9DFD #FDDF7F
analogous
#7FDCFD #7F9DFD #A07FFD
triadic
#7F9DFD #FD7F9D #9DFD7F
tetradic
#7F9DFD #FD7FDC #FDDF7F #7FFDA0
square
#7F9DFD #FD7FDC #FDDF7F #7FFDA0
split-complementary
#7F9DFD #FDA07F #DCFD7F
monochromatic
#0641FB #436FFC #7F9DFD #BBCBFE #E1E8FF

Accessibility & contrast

On white

2.58
#7F9DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#7F9DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7F9DFD
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9DFD#FFFFFF#000000##000000
##7F9DFD1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A7FF
Deuteranopia (green-blind)
#6A9CFB
Tritanopia (blue-blind)
#48B1C1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7f9dfd;
/* rgb */ color: rgb(127, 157, 253);
/* oklch */ color: oklch(71.5% 0.144 269.4);
Tailwind
colors: {
  custom: {
    50: '#abb9fe',
    500: '#7f9dfd',
    950: '#000000',
  },
}
SCSS
$custom: #7f9dfd;
$custom-light: #abb9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9dfd",
  "rgb": {
    "r": 127,
    "g": 157,
    "b": 253
  },
  "hsl": {
    "h": 225.714,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71492,
    "c": 0.14433,
    "h": 269.4
  },
  "luminance": 0.35718
}

Semantic roles & 50–950 ramp

primary
#7F9DFD
secondary
#F7EFD4
accent
#AF00E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#111118
muted
#808086

Preview Lab

Preview with #7F9DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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