#625F87#625F87

#625F87 is a mid, moderate blue. Relative luminance 0.125; OKLCH L 50.4% C 0.063 H 287.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#625F87
RGBrgb(98, 95, 135)
HSLhsl(245, 17%, 45%)
HSVhsv(245, 30%, 53%)
CMYKcmyk(27.4%, 29.6%, 0%, 47.1%)
CIE-LABlab(42.05, 10.68, -21.77)
CIE-LCHlch(42.05, 24.25, 296.14°)
OKLaboklab(50.45% 0.0188 -0.0602)
OKLCHoklch(50.45% 0.063 287.3)
XYZxyz(13.5013, 12.5301, 24.6242)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#625F87 #84875F
analogous
#5F7087 #625F87 #765F87
triadic
#625F87 #87625F #5F8762
tetradic
#625F87 #875F70 #84875F #5F8776
square
#625F87 #875F70 #84875F #5F8776
split-complementary
#625F87 #87765F #70875F
monochromatic
#2E2C3F #484663 #625F87 #817FA5 #A5A2BE

Accessibility & contrast

On white

5.99
#625F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#625F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #625F87
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##625F87#FFFFFF#000000##FFFFFF
##625F871.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546489
Deuteranopia (green-blind)
#546286
Tritanopia (blue-blind)
#5A666D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #625f87;
/* rgb */ color: rgb(98, 95, 135);
/* oklch */ color: oklch(50.4% 0.063 287.3);
Tailwind
colors: {
  custom: {
    50: '#8f8caa',
    500: '#625f87',
    950: '#000000',
  },
}
SCSS
$custom: #625f87;
$custom-light: #8f8caa;
$custom-dark: #000000;
JSON
{
  "hex": "#625f87",
  "rgb": {
    "r": 98,
    "g": 95,
    "b": 135
  },
  "hsl": {
    "h": 244.5,
    "s": 17.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50446,
    "c": 0.06308,
    "h": 287.3
  },
  "luminance": 0.1253
}

Semantic roles & 50–950 ramp

primary
#625F87
secondary
#ABAC95
accent
#BA6EB4
background
#F8F8FA
surface
#F0F0F4
border
#CBCBCE
text
#0C0C10
muted
#7D7D7F

Preview Lab

Preview with #625F87

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

Preview Lab → · Contrast checker → · Palette generator →

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