#625F98#625F98

#625F98 is a mid, moderate blue. Relative luminance 0.130; OKLCH L 51.3% C 0.089 H 285.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#625F98
RGBrgb(98, 95, 152)
HSLhsl(243, 23%, 48%)
HSVhsv(243, 38%, 60%)
CMYKcmyk(35.5%, 37.5%, 0%, 40.4%)
CIE-LABlab(42.83, 15.37, -30.75)
CIE-LCHlch(42.83, 34.38, 296.55°)
OKLaboklab(51.31% 0.0234 -0.0861)
OKLCHoklch(51.31% 0.089 285.2)
XYZxyz(14.7952, 13.0476, 31.4386)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#625F98 #95985F
analogous
#5F7898 #625F98 #7E5F98
triadic
#625F98 #98625F #5F9862
tetradic
#625F98 #985F78 #95985F #5F987E
square
#625F98 #985F78 #95985F #5F987E
split-complementary
#625F98 #987E5F #78985F
monochromatic
#31304D #4A4772 #625F98 #8583B1 #AAA8C9

Accessibility & contrast

On white

5.82
#625F98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#625F98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #625F98
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##625F98#FFFFFF#000000##FFFFFF
##625F981.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D679A
Deuteranopia (green-blind)
#4C6397
Tritanopia (blue-blind)
#546A74
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #625f98;
/* rgb */ color: rgb(98, 95, 152);
/* oklch */ color: oklch(51.3% 0.089 285.2);
Tailwind
colors: {
  custom: {
    50: '#908cb6',
    500: '#625f98',
    950: '#000000',
  },
}
SCSS
$custom: #625f98;
$custom-light: #908cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#625f98",
  "rgb": {
    "r": 98,
    "g": 95,
    "b": 152
  },
  "hsl": {
    "h": 243.158,
    "s": 23.077,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51311,
    "c": 0.08918,
    "h": 285.2
  },
  "luminance": 0.13048
}

Semantic roles & 50–950 ramp

primary
#625F98
secondary
#B6B79C
accent
#C068BB
background
#F9F8FB
surface
#F1F0F6
border
#CBCBD0
text
#0D0C11
muted
#7E7D80

Preview Lab

Preview with #625F98

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

Preview Lab → · Contrast checker → · Palette generator →

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