#7E98BF#7E98BF

#7E98BF is a light, moderate blue. Relative luminance 0.307; OKLCH L 67.4% C 0.065 H 258.3°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#7E98BF
RGBrgb(126, 152, 191)
HSLhsl(216, 34%, 62%)
HSVhsv(216, 34%, 75%)
CMYKcmyk(34%, 20.4%, 0%, 25.1%)
CIE-LABlab(62.21, 0.38, -23.12)
CIE-LCHlch(62.21, 23.13, 270.95°)
OKLaboklab(67.42% -0.0132 -0.0638)
OKLCHoklch(67.42% 0.065 258.3)
XYZxyz(29.2336, 30.6524, 53.6563)
Luminance0.3065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E98BF #BFA57E
analogous
#7EB9BF #7E98BF #857EBF
triadic
#7E98BF #BF7E98 #98BF7E
tetradic
#7E98BF #BF7EB9 #BFA57E #7EBF85
square
#7E98BF #BF7EB9 #BFA57E #7EBF85
split-complementary
#7E98BF #BF857E #B9BF7E
monochromatic
#415B82 #5577AB #7E98BF #A7B9D3 #D0D9E8

Accessibility & contrast

On white

2.94
#7E98BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#7E98BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E98BF
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E98BF#FFFFFF#000000##000000
##7E98BF1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9AC1
Deuteranopia (green-blind)
#8394BE
Tritanopia (blue-blind)
#6AA0A5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7e98bf;
/* rgb */ color: rgb(126, 152, 191);
/* oklch */ color: oklch(67.4% 0.065 258.3);
Tailwind
colors: {
  custom: {
    50: '#a5b6d2',
    500: '#7e98bf',
    950: '#000000',
  },
}
SCSS
$custom: #7e98bf;
$custom-light: #a5b6d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e98bf",
  "rgb": {
    "r": 126,
    "g": 152,
    "b": 191
  },
  "hsl": {
    "h": 216,
    "s": 33.679,
    "l": 62.157
  },
  "oklch": {
    "l": 0.67415,
    "c": 0.06516,
    "h": 258.3
  },
  "luminance": 0.30654
}

Semantic roles & 50–950 ramp

primary
#7E98BF
secondary
#D8CFC0
accent
#7E39AC
background
#FAFBFC
surface
#F4F6F9
border
#CED0D2
text
#0F1114
muted
#7F8082

Preview Lab

Preview with #7E98BF

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

Preview Lab → · Contrast checker → · Palette generator →

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