#9DA7FE#9DA7FE

#9DA7FE is a light, vivid blue. Relative luminance 0.420; OKLCH L 75.5% C 0.125 H 277.9°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#9DA7FE
RGBrgb(157, 167, 254)
HSLhsl(234, 98%, 81%)
HSVhsv(234, 38%, 100%)
CMYKcmyk(38.2%, 34.3%, 0%, 0.4%)
CIE-LABlab(70.84, 17.12, -44.32)
CIE-LCHlch(70.84, 47.51, 291.12°)
OKLaboklab(75.5% 0.0173 -0.1241)
OKLCHoklch(75.5% 0.125 277.9)
XYZxyz(45.6075, 41.9594, 99.4426)
Luminance0.4196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA7FE #FEF49D
analogous
#9DD8FE #9DA7FE #C39DFE
triadic
#9DA7FE #FE9DA7 #A7FE9D
tetradic
#9DA7FE #FE9DD8 #FEF49D #9DFEC3
square
#9DA7FE #FE9DD8 #FEF49D #9DFEC3
split-complementary
#9DA7FE #FEC39D #D8FE9D
monochromatic
#243AFD #6071FD #9DA7FE #DADDFF #E1E4FF

Accessibility & contrast

On white

2.24
#9DA7FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#9DA7FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA7FE
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA7FE#FFFFFF#000000##000000
##9DA7FE1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB1FF
Deuteranopia (green-blind)
#84AAFC
Tritanopia (blue-blind)
#80B8C7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #9da7fe;
/* rgb */ color: rgb(157, 167, 254);
/* oklch */ color: oklch(75.5% 0.125 277.9);
Tailwind
colors: {
  custom: {
    50: '#bdc1ff',
    500: '#9da7fe',
    950: '#000000',
  },
}
SCSS
$custom: #9da7fe;
$custom-light: #bdc1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9da7fe",
  "rgb": {
    "r": 157,
    "g": 167,
    "b": 254
  },
  "hsl": {
    "h": 233.814,
    "s": 97.98,
    "l": 80.588
  },
  "oklch": {
    "l": 0.75503,
    "c": 0.12532,
    "h": 277.9
  },
  "luminance": 0.41961
}

Semantic roles & 50–950 ramp

primary
#9DA7FE
secondary
#F7F3D4
accent
#CE00E6
background
#FBFBFF
surface
#F7F7FF
border
#D0D0D7
text
#121218
muted
#818186

Preview Lab

Preview with #9DA7FE

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

Preview Lab → · Contrast checker → · Palette generator →

#9DA7FE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva