#7D98BF#7D98BF

#7D98BF is a light, moderate blue. Relative luminance 0.306; OKLCH L 67.3% C 0.066 H 257.5°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#7D98BF
RGBrgb(125, 152, 191)
HSLhsl(215, 34%, 62%)
HSVhsv(215, 35%, 75%)
CMYKcmyk(34.6%, 20.4%, 0%, 25.1%)
CIE-LABlab(62.15, 0.09, -23.23)
CIE-LCHlch(62.15, 23.23, 270.23°)
OKLaboklab(67.35% -0.0142 -0.0641)
OKLCHoklch(67.35% 0.066 257.5)
XYZxyz(29.0868, 30.5767, 53.6494)
Luminance0.3058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D98BF #BFA47D
analogous
#7DB9BF #7D98BF #837DBF
triadic
#7D98BF #BF7D98 #98BF7D
tetradic
#7D98BF #BF7DB9 #BFA47D #7DBF83
square
#7D98BF #BF7DB9 #BFA47D #7DBF83
split-complementary
#7D98BF #BF837D #B9BF7D
monochromatic
#405B82 #5478AB #7D98BF #A6B8D3 #CFD9E7

Accessibility & contrast

On white

2.95
#7D98BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#7D98BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7D98BF
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D98BF#FFFFFF#000000##000000
##7D98BF1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9AC1
Deuteranopia (green-blind)
#8393BE
Tritanopia (blue-blind)
#69A0A5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7d98bf;
/* rgb */ color: rgb(125, 152, 191);
/* oklch */ color: oklch(67.3% 0.066 257.5);
Tailwind
colors: {
  custom: {
    50: '#a4b6d2',
    500: '#7d98bf',
    950: '#000000',
  },
}
SCSS
$custom: #7d98bf;
$custom-light: #a4b6d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d98bf",
  "rgb": {
    "r": 125,
    "g": 152,
    "b": 191
  },
  "hsl": {
    "h": 215.455,
    "s": 34.021,
    "l": 61.961
  },
  "oklch": {
    "l": 0.67348,
    "c": 0.06568,
    "h": 257.5
  },
  "luminance": 0.30578
}

Semantic roles & 50–950 ramp

primary
#7D98BF
secondary
#D8CEC0
accent
#7D39AD
background
#FAFBFC
surface
#F4F6F9
border
#CED0D2
text
#0F1114
muted
#7F8082

Preview Lab

Preview with #7D98BF

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

Preview Lab → · Contrast checker → · Palette generator →

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