#9DA7FC#9DA7FC

#9DA7FC is a light, vivid blue. Relative luminance 0.418; OKLCH L 75.4% C 0.123 H 277.9°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#9DA7FC
RGBrgb(157, 167, 252)
HSLhsl(234, 94%, 80%)
HSVhsv(234, 38%, 99%)
CMYKcmyk(37.7%, 33.7%, 0%, 1.2%)
CIE-LABlab(70.75, 16.59, -43.37)
CIE-LCHlch(70.75, 46.43, 290.93°)
OKLaboklab(75.41% 0.0168 -0.1214)
OKLCHoklch(75.41% 0.123 277.9)
XYZxyz(45.2889, 41.8320, 97.7647)
Luminance0.4183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA7FC #FCF29D
analogous
#9DD7FC #9DA7FC #C29DFC
triadic
#9DA7FC #FC9DA7 #A7FC9D
tetradic
#9DA7FC #FC9DD7 #FCF29D #9DFCC2
square
#9DA7FC #FC9DD7 #FCF29D #9DFCC2
split-complementary
#9DA7FC #FCC29D #D7FC9D
monochromatic
#263CF8 #6272FA #9DA7FC #D8DCFE #E1E4FE

Accessibility & contrast

On white

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

On black

9.37
#9DA7FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA7FC
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA7FC#FFFFFF#000000##000000
##9DA7FC1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB1FF
Deuteranopia (green-blind)
#85AAFA
Tritanopia (blue-blind)
#81B8C6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #9da7fc;
/* rgb */ color: rgb(157, 167, 252);
/* oklch */ color: oklch(75.4% 0.123 277.9);
Tailwind
colors: {
  custom: {
    50: '#bdc1fd',
    500: '#9da7fc',
    950: '#000000',
  },
}
SCSS
$custom: #9da7fc;
$custom-light: #bdc1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9da7fc",
  "rgb": {
    "r": 157,
    "g": 167,
    "b": 252
  },
  "hsl": {
    "h": 233.684,
    "s": 94.059,
    "l": 80.196
  },
  "oklch": {
    "l": 0.75406,
    "c": 0.12255,
    "h": 277.9
  },
  "luminance": 0.41834
}

Semantic roles & 50–950 ramp

primary
#9DA7FC
secondary
#F6F3D5
accent
#CD00E6
background
#FBFBFF
surface
#F7F7FF
border
#D0D0D7
text
#121218
muted
#818186

Preview Lab

Preview with #9DA7FC

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

Preview Lab → · Contrast checker → · Palette generator →

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