#7B98FD#7B98FD

#7B98FD is a light, vivid blue. Relative luminance 0.338; OKLCH L 70.3% C 0.152 H 270.1°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#7B98FD
RGBrgb(123, 152, 253)
HSLhsl(227, 97%, 74%)
HSVhsv(227, 51%, 99%)
CMYKcmyk(51.4%, 39.9%, 0%, 0.8%)
CIE-LABlab(64.77, 17.34, -53.49)
CIE-LCHlch(64.77, 56.23, 287.96°)
OKLaboklab(70.25% 0.0002 -0.1516)
OKLCHoklch(70.25% 0.152 270.1)
XYZxyz(37.1205, 33.7568, 97.4691)
Luminance0.3376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B98FD #FDE07B
analogous
#7BD9FD #7B98FD #9F7BFD
triadic
#7B98FD #FD7B98 #98FD7B
tetradic
#7B98FD #FD7BD9 #FDE07B #7BFD9F
square
#7B98FD #FD7BD9 #FDE07B #7BFD9F
split-complementary
#7B98FD #FD9F7B #D9FD7B
monochromatic
#043BFA #3F69FC #7B98FD #B7C7FE #E1E7FF

Accessibility & contrast

On white

2.71
#7B98FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#7B98FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7B98FD
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B98FD#FFFFFF#000000##000000
##7B98FD1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA3FF
Deuteranopia (green-blind)
#6198FB
Tritanopia (blue-blind)
#3FAEBE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7b98fd;
/* rgb */ color: rgb(123, 152, 253);
/* oklch */ color: oklch(70.3% 0.152 270.1);
Tailwind
colors: {
  custom: {
    50: '#a8b6fe',
    500: '#7b98fd',
    950: '#000000',
  },
}
SCSS
$custom: #7b98fd;
$custom-light: #a8b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7b98fd",
  "rgb": {
    "r": 123,
    "g": 152,
    "b": 253
  },
  "hsl": {
    "h": 226.615,
    "s": 97.015,
    "l": 73.725
  },
  "oklch": {
    "l": 0.7025,
    "c": 0.15157,
    "h": 270.1
  },
  "luminance": 0.33759
}

Semantic roles & 50–950 ramp

primary
#7B98FD
secondary
#F7EFD4
accent
#B200E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101118
muted
#7F8086

Preview Lab

Preview with #7B98FD

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

Preview Lab → · Contrast checker → · Palette generator →

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