#7B97DF#7B97DF

#7B97DF is a light, moderate blue. Relative luminance 0.317; OKLCH L 68.5% C 0.111 H 267.2°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#7B97DF
RGBrgb(123, 151, 223)
HSLhsl(223, 61%, 68%)
HSVhsv(223, 45%, 87%)
CMYKcmyk(44.8%, 32.3%, 0%, 12.5%)
CIE-LABlab(63.07, 9.00, -39.67)
CIE-LCHlch(63.07, 40.68, 282.78°)
OKLaboklab(68.47% -0.0053 -0.1113)
OKLCHoklch(68.47% 0.111 267.2)
XYZxyz(32.5500, 31.6700, 74.1955)
Luminance0.3167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B97DF #DFC37B
analogous
#7BC9DF #7B97DF #917BDF
triadic
#7B97DF #DF7B97 #97DF7B
tetradic
#7B97DF #DF7BC9 #DFC37B #7BDF91
square
#7B97DF #DF7BC9 #DFC37B #7BDF91
split-complementary
#7B97DF #DF917B #C9DF7B
monochromatic
#2C52B4 #4A70D3 #7B97DF #ACBEEB #DEE5F7

Accessibility & contrast

On white

2.86
#7B97DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#7B97DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7B97DF
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B97DF#FFFFFF#000000##000000
##7B97DF1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9DE2
Deuteranopia (green-blind)
#7395DD
Tritanopia (blue-blind)
#56A6B1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7b97df;
/* rgb */ color: rgb(123, 151, 223);
/* oklch */ color: oklch(68.5% 0.111 267.2);
Tailwind
colors: {
  custom: {
    50: '#a5b5e9',
    500: '#7b97df',
    950: '#000000',
  },
}
SCSS
$custom: #7b97df;
$custom-light: #a5b5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b97df",
  "rgb": {
    "r": 123,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 223.2,
    "s": 60.976,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68468,
    "c": 0.11144,
    "h": 267.2
  },
  "luminance": 0.31672
}

Semantic roles & 50–950 ramp

primary
#7B97DF
secondary
#EAE2CB
accent
#991DC9
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #7B97DF

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

Preview Lab → · Contrast checker → · Palette generator →

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