#98A5F6#98A5F6

#98A5F6 is a light, moderate blue. Relative luminance 0.402; OKLCH L 74.4% C 0.118 H 276.2°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#98A5F6
RGBrgb(152, 165, 246)
HSLhsl(232, 84%, 78%)
HSVhsv(232, 38%, 96%)
CMYKcmyk(38.2%, 32.9%, 0%, 3.5%)
CIE-LABlab(69.64, 14.81, -41.88)
CIE-LCHlch(69.64, 44.42, 289.47°)
OKLaboklab(74.37% 0.0127 -0.1172)
OKLCHoklch(74.37% 0.118 276.2)
XYZxyz(43.0337, 40.2377, 92.6701)
Luminance0.4024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A5F6 #F6E998
analogous
#98D4F6 #98A5F6 #BA98F6
triadic
#98A5F6 #F698A5 #A5F698
tetradic
#98A5F6 #F698D4 #F6E998 #98F6BA
square
#98A5F6 #F698D4 #F6E998 #98F6BA
split-complementary
#98A5F6 #F6BA98 #D4F698
monochromatic
#2743EC #6074F1 #98A5F6 #D0D6FB #E3E6FD

Accessibility & contrast

On white

2.32
#98A5F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#98A5F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A5F6
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A5F6#FFFFFF#000000##000000
##98A5F61.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAEF9
Deuteranopia (green-blind)
#84A7F4
Tritanopia (blue-blind)
#7CB5C2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #98a5f6;
/* rgb */ color: rgb(152, 165, 246);
/* oklch */ color: oklch(74.4% 0.118 276.2);
Tailwind
colors: {
  custom: {
    50: '#b9bff9',
    500: '#98a5f6',
    950: '#000000',
  },
}
SCSS
$custom: #98a5f6;
$custom-light: #b9bff9;
$custom-dark: #000000;
JSON
{
  "hex": "#98a5f6",
  "rgb": {
    "r": 152,
    "g": 165,
    "b": 246
  },
  "hsl": {
    "h": 231.702,
    "s": 83.929,
    "l": 78.039
  },
  "oklch": {
    "l": 0.74371,
    "c": 0.11787,
    "h": 276.2
  },
  "luminance": 0.40239
}

Semantic roles & 50–950 ramp

primary
#98A5F6
secondary
#F4F0D7
accent
#C205E0
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#121217
muted
#818185

Preview Lab

Preview with #98A5F6

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

Preview Lab → · Contrast checker → · Palette generator →

#98A5F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva