#7E98DB#7E98DB

#7E98DB is a light, moderate blue. Relative luminance 0.320; OKLCH L 68.7% C 0.104 H 267.4°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#7E98DB
RGBrgb(126, 152, 219)
HSLhsl(223, 56%, 68%)
HSVhsv(223, 42%, 86%)
CMYKcmyk(42.5%, 30.6%, 0%, 14.1%)
CIE-LABlab(63.35, 8.04, -37.00)
CIE-LCHlch(63.35, 37.87, 282.25°)
OKLaboklab(68.67% -0.0046 -0.1035)
OKLCHoklch(68.67% 0.104 267.4)
XYZxyz(32.6146, 32.0048, 71.4631)
Luminance0.3201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E98DB #DBC17E
analogous
#7EC6DB #7E98DB #927EDB
triadic
#7E98DB #DB7E98 #98DB7E
tetradic
#7E98DB #DB7EC6 #DBC17E #7EDB92
square
#7E98DB #DB7EC6 #DBC17E #7EDB92
split-complementary
#7E98DB #DB927E #C6DB7E
monochromatic
#3154AE #4E72CE #7E98DB #AEBEE8 #DEE4F6

Accessibility & contrast

On white

2.84
#7E98DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#7E98DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E98DB
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E98DB#FFFFFF#000000##000000
##7E98DB1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#809EDE
Deuteranopia (green-blind)
#7796D9
Tritanopia (blue-blind)
#5EA6B0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7e98db;
/* rgb */ color: rgb(126, 152, 219);
/* oklch */ color: oklch(68.7% 0.104 267.4);
Tailwind
colors: {
  custom: {
    50: '#a7b6e6',
    500: '#7e98db',
    950: '#000000',
  },
}
SCSS
$custom: #7e98db;
$custom-light: #a7b6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e98db",
  "rgb": {
    "r": 126,
    "g": 152,
    "b": 219
  },
  "hsl": {
    "h": 223.226,
    "s": 56.364,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68674,
    "c": 0.10365,
    "h": 267.4
  },
  "luminance": 0.32007
}

Semantic roles & 50–950 ramp

primary
#7E98DB
secondary
#E9E1CC
accent
#9722C4
background
#FAFBFE
surface
#F4F6FC
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #7E98DB

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

Preview Lab → · Contrast checker → · Palette generator →

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