#7D98CF#7D98CF

#7D98CF is a light, moderate blue. Relative luminance 0.313; OKLCH L 68.0% C 0.087 H 264.0°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#7D98CF
RGBrgb(125, 152, 207)
HSLhsl(220, 46%, 65%)
HSVhsv(220, 40%, 81%)
CMYKcmyk(39.6%, 26.6%, 0%, 18.8%)
CIE-LABlab(62.78, 4.41, -31.22)
CIE-LCHlch(62.78, 31.53, 278.05°)
OKLaboklab(68.05% -0.0091 -0.0869)
OKLCHoklch(68.05% 0.087 264)
XYZxyz(30.9447, 31.3199, 63.4342)
Luminance0.3132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D98CF #CFB47D
analogous
#7DC1CF #7D98CF #8B7DCF
triadic
#7D98CF #CF7D98 #98CF7D
tetradic
#7D98CF #CF7DC1 #CFB47D #7DCF8B
square
#7D98CF #CF7DC1 #CFB47D #7DCF8B
split-complementary
#7D98CF #CF8B7D #C1CF7D
monochromatic
#395899 #5075BE #7D98CF #AABBE0 #D6DFF0

Accessibility & contrast

On white

2.89
#7D98CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#7D98CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7D98CF
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D98CF#FFFFFF#000000##000000
##7D98CF1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#859CD1
Deuteranopia (green-blind)
#7D94CE
Tritanopia (blue-blind)
#62A3AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7d98cf;
/* rgb */ color: rgb(125, 152, 207);
/* oklch */ color: oklch(68.0% 0.087 264.0);
Tailwind
colors: {
  custom: {
    50: '#a5b6de',
    500: '#7d98cf',
    950: '#000000',
  },
}
SCSS
$custom: #7d98cf;
$custom-light: #a5b6de;
$custom-dark: #000000;
JSON
{
  "hex": "#7d98cf",
  "rgb": {
    "r": 125,
    "g": 152,
    "b": 207
  },
  "hsl": {
    "h": 220.244,
    "s": 46.067,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68046,
    "c": 0.08738,
    "h": 264
  },
  "luminance": 0.31321
}

Semantic roles & 50–950 ramp

primary
#7D98CF
secondary
#E2D9C6
accent
#8B2CB9
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #7D98CF

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

Preview Lab → · Contrast checker → · Palette generator →

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