#7D9EFA#7D9EFA

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

Color values

HEX#7D9EFA
RGBrgb(125, 158, 250)
HSLhsl(224, 93%, 74%)
HSVhsv(224, 50%, 98%)
CMYKcmyk(50%, 36.8%, 0%, 2%)
CIE-LABlab(66.30, 13.39, -49.43)
CIE-LCHlch(66.30, 51.21, 285.15°)
OKLaboklab(71.41% -0.0052 -0.1396)
OKLCHoklch(71.41% 0.14 267.8)
XYZxyz(37.9340, 35.7133, 95.3184)
Luminance0.3572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9EFA #FAD97D
analogous
#7DDCFA #7D9EFA #9A7DFA
triadic
#7D9EFA #FA7D9E #9EFA7D
tetradic
#7D9EFA #FA7DDC #FAD97D #7DFA9A
square
#7D9EFA #FA7DDC #FAD97D #7DFA9A
split-complementary
#7D9EFA #FA9A7D #DCFA7D
monochromatic
#0947F3 #4272F8 #7D9EFA #B8CAFC #E2E9FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D9EFA#FFFFFF#000000##000000
##7D9EFA1.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)
#7AA7FE
Deuteranopia (green-blind)
#6D9CF8
Tritanopia (blue-blind)
#45B2C0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7d9efa;
/* rgb */ color: rgb(125, 158, 250);
/* oklch */ color: oklch(71.4% 0.140 267.8);
Tailwind
colors: {
  custom: {
    50: '#a9bafc',
    500: '#7d9efa',
    950: '#000000',
  },
}
SCSS
$custom: #7d9efa;
$custom-light: #a9bafc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9efa",
  "rgb": {
    "r": 125,
    "g": 158,
    "b": 250
  },
  "hsl": {
    "h": 224.16,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71413,
    "c": 0.13971,
    "h": 267.8
  },
  "luminance": 0.35716
}

Semantic roles & 50–950 ramp

primary
#7D9EFA
secondary
#F6EDD5
accent
#A900E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #7D9EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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