#7B98EA#7B98EA

#7B98EA is a light, vivid blue. Relative luminance 0.326; OKLCH L 69.2% C 0.126 H 268.2°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#7B98EA
RGBrgb(123, 152, 234)
HSLhsl(224, 73%, 70%)
HSVhsv(224, 47%, 92%)
CMYKcmyk(47.4%, 35%, 0%, 8.2%)
CIE-LABlab(63.84, 11.64, -44.54)
CIE-LCHlch(63.84, 46.03, 284.65°)
OKLaboklab(69.23% -0.0038 -0.1254)
OKLCHoklch(69.23% 0.126 268.2)
XYZxyz(34.2431, 32.6058, 82.3151)
Luminance0.3261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B98EA #EACD7B
analogous
#7BD0EA #7B98EA #957BEA
triadic
#7B98EA #EA7B98 #98EA7B
tetradic
#7B98EA #EA7BD0 #EACD7B #7BEA95
square
#7B98EA #EA7BD0 #EACD7B #7BEA95
split-complementary
#7B98EA #EA957B #D0EA7B
monochromatic
#204DCA #466FE2 #7B98EA #B0C1F2 #E5EAFB

Accessibility & contrast

On white

2.79
#7B98EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#7B98EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7B98EA
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B98EA#FFFFFF#000000##000000
##7B98EA1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A0ED
Deuteranopia (green-blind)
#6E96E8
Tritanopia (blue-blind)
#4FA9B6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7b98ea;
/* rgb */ color: rgb(123, 152, 234);
/* oklch */ color: oklch(69.2% 0.126 268.2);
Tailwind
colors: {
  custom: {
    50: '#a6b6f1',
    500: '#7b98ea',
    950: '#000000',
  },
}
SCSS
$custom: #7b98ea;
$custom-light: #a6b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b98ea",
  "rgb": {
    "r": 123,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 224.324,
    "s": 72.549,
    "l": 70
  },
  "oklch": {
    "l": 0.69231,
    "c": 0.1255,
    "h": 268.2
  },
  "luminance": 0.32608
}

Semantic roles & 50–950 ramp

primary
#7B98EA
secondary
#F0E8D1
accent
#A111D5
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7B98EA

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

Preview Lab → · Contrast checker → · Palette generator →

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