#7F9DF5#7F9DF5

#7F9DF5 is a light, vivid blue. Relative luminance 0.352; OKLCH L 71.1% C 0.133 H 268.6°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#7F9DF5
RGBrgb(127, 157, 245)
HSLhsl(225, 86%, 73%)
HSVhsv(225, 48%, 96%)
CMYKcmyk(48.2%, 35.9%, 0%, 3.9%)
CIE-LABlab(65.92, 12.93, -47.29)
CIE-LCHlch(65.92, 49.03, 285.29°)
OKLaboklab(71.07% -0.0032 -0.1334)
OKLCHoklch(71.07% 0.133 268.6)
XYZxyz(37.2855, 35.2162, 91.2012)
Luminance0.3522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9DF5 #F5D77F
analogous
#7FD8F5 #7F9DF5 #9C7FF5
triadic
#7F9DF5 #F57F9D #9DF57F
tetradic
#7F9DF5 #F57FD8 #F5D77F #7FF59C
square
#7F9DF5 #F57FD8 #F5D77F #7FF59C
split-complementary
#7F9DF5 #F59C7F #D8F57F
monochromatic
#1248E8 #4672F1 #7F9DF5 #B8C8F9 #E3E9FD

Accessibility & contrast

On white

2.61
#7F9DF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#7F9DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7F9DF5
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9DF5#FFFFFF#000000##000000
##7F9DF51.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA6F9
Deuteranopia (green-blind)
#6F9BF3
Tritanopia (blue-blind)
#4FB0BD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7f9df5;
/* rgb */ color: rgb(127, 157, 245);
/* oklch */ color: oklch(71.1% 0.133 268.6);
Tailwind
colors: {
  custom: {
    50: '#aab9f9',
    500: '#7f9df5',
    950: '#000000',
  },
}
SCSS
$custom: #7f9df5;
$custom-light: #aab9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9df5",
  "rgb": {
    "r": 127,
    "g": 157,
    "b": 245
  },
  "hsl": {
    "h": 224.746,
    "s": 85.507,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71069,
    "c": 0.1334,
    "h": 268.6
  },
  "luminance": 0.35219
}

Semantic roles & 50–950 ramp

primary
#7F9DF5
secondary
#F5EDD6
accent
#A903E2
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #7F9DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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