#9A9DF2#9A9DF2

#9A9DF2 is a light, vivid blue. Relative luminance 0.374; OKLCH L 72.8% C 0.123 H 281.3°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#9A9DF2
RGBrgb(154, 157, 242)
HSLhsl(238, 77%, 78%)
HSVhsv(238, 36%, 95%)
CMYKcmyk(36.4%, 35.1%, 0%, 5.1%)
CIE-LABlab(67.57, 18.81, -42.93)
CIE-LCHlch(67.57, 46.87, 293.67°)
OKLaboklab(72.76% 0.0241 -0.1202)
OKLCHoklch(72.76% 0.123 281.3)
XYZxyz(41.4059, 37.3933, 89.0232)
Luminance0.3740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9DF2 #F2EF9A
analogous
#9AC9F2 #9A9DF2 #C39AF2
triadic
#9A9DF2 #F29A9D #9DF29A
tetradic
#9A9DF2 #F29AC9 #F2EF9A #9AF2C3
square
#9A9DF2 #F29AC9 #F2EF9A #9AF2C3
split-complementary
#9A9DF2 #F2C39A #C9F29A
monochromatic
#2E34E4 #6468EB #9A9DF2 #D0D2F9 #E4E5FC

Accessibility & contrast

On white

2.48
#9A9DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#9A9DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9A9DF2
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9DF2#FFFFFF#000000##000000
##9A9DF21.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A8F5
Deuteranopia (green-blind)
#7DA2F0
Tritanopia (blue-blind)
#81ADBC
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9a9df2;
/* rgb */ color: rgb(154, 157, 242);
/* oklch */ color: oklch(72.8% 0.123 281.3);
Tailwind
colors: {
  custom: {
    50: '#bab9f6',
    500: '#9a9df2',
    950: '#000000',
  },
}
SCSS
$custom: #9a9df2;
$custom-light: #bab9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9df2",
  "rgb": {
    "r": 154,
    "g": 157,
    "b": 242
  },
  "hsl": {
    "h": 237.955,
    "s": 77.193,
    "l": 77.647
  },
  "oklch": {
    "l": 0.72757,
    "c": 0.12257,
    "h": 281.3
  },
  "luminance": 0.37395
}

Semantic roles & 50–950 ramp

primary
#9A9DF2
secondary
#F3F2D8
accent
#D20CD9
background
#FBFBFF
surface
#F6F6FE
border
#D0D0D6
text
#121117
muted
#818085

Preview Lab

Preview with #9A9DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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