#625D97#625D97

#625D97 is a mid, moderate blue. Relative luminance 0.127; OKLCH L 50.8% C 0.091 H 286.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#625D97
RGBrgb(98, 93, 151)
HSLhsl(245, 24%, 48%)
HSVhsv(245, 38%, 59%)
CMYKcmyk(35.1%, 38.4%, 0%, 40.8%)
CIE-LABlab(42.25, 16.33, -31.08)
CIE-LCHlch(42.25, 35.11, 297.72°)
OKLaboklab(50.84% 0.026 -0.087)
OKLCHoklch(50.84% 0.091 286.6)
XYZxyz(14.5358, 12.6593, 30.9498)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#625D97 #92975D
analogous
#5D7597 #625D97 #7F5D97
triadic
#625D97 #97625D #5D9762
tetradic
#625D97 #975D75 #92975D #5D977F
square
#625D97 #975D75 #92975D #5D977F
split-complementary
#625D97 #977F5D #75975D
monochromatic
#312E4B #494671 #625D97 #8480B1 #A9A6C8

Accessibility & contrast

On white

5.95
#625D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#625D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #625D97
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##625D97#FFFFFF#000000##FFFFFF
##625D971.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6599
Deuteranopia (green-blind)
#4A6296
Tritanopia (blue-blind)
#546873
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #625d97;
/* rgb */ color: rgb(98, 93, 151);
/* oklch */ color: oklch(50.8% 0.091 286.6);
Tailwind
colors: {
  custom: {
    50: '#908ab6',
    500: '#625d97',
    950: '#000000',
  },
}
SCSS
$custom: #625d97;
$custom-light: #908ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#625d97",
  "rgb": {
    "r": 98,
    "g": 93,
    "b": 151
  },
  "hsl": {
    "h": 245.172,
    "s": 23.77,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50844,
    "c": 0.09081,
    "h": 286.6
  },
  "luminance": 0.1266
}

Semantic roles & 50–950 ramp

primary
#625D97
secondary
#B4B699
accent
#C068B9
background
#F9F8FB
surface
#F1F0F6
border
#CBCBD0
text
#0D0B11
muted
#7E7C80

Preview Lab

Preview with #625D97

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

Preview Lab → · Contrast checker → · Palette generator →

#625D97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva