#625AA8#625AA8

#625AA8 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.2% C 0.121 H 286.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#625AA8
RGBrgb(98, 90, 168)
HSLhsl(246, 31%, 51%)
HSVhsv(246, 46%, 66%)
CMYKcmyk(41.7%, 46.4%, 0%, 34.1%)
CIE-LABlab(42.36, 23.12, -41.01)
CIE-LCHlch(42.36, 47.08, 299.42°)
OKLaboklab(51.23% 0.0333 -0.1159)
OKLCHoklch(51.23% 0.121 286)
XYZxyz(15.7590, 12.7356, 38.6661)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#625AA8 #A0A85A
analogous
#5A79A8 #625AA8 #895AA8
triadic
#625AA8 #A8625A #5AA862
tetradic
#625AA8 #A85A79 #A0A85A #5AA889
square
#625AA8 #A85A79 #A0A85A #5AA889
split-complementary
#625AA8 #A8895A #79A85A
monochromatic
#332F59 #4A4481 #625AA8 #8882BD #AEAAD2

Accessibility & contrast

On white

5.92
#625AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#625AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #625AA8
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##625AA8#FFFFFF#000000##FFFFFF
##625AA81.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D66AB
Deuteranopia (green-blind)
#3B62A6
Tritanopia (blue-blind)
#4E6A79
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #625aa8;
/* rgb */ color: rgb(98, 90, 168);
/* oklch */ color: oklch(51.2% 0.121 286.0);
Tailwind
colors: {
  custom: {
    50: '#9288c2',
    500: '#625aa8',
    950: '#000000',
  },
}
SCSS
$custom: #625aa8;
$custom-light: #9288c2;
$custom-dark: #000000;
JSON
{
  "hex": "#625aa8",
  "rgb": {
    "r": 98,
    "g": 90,
    "b": 168
  },
  "hsl": {
    "h": 246.154,
    "s": 30.952,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51228,
    "c": 0.12062,
    "h": 286
  },
  "luminance": 0.12736
}

Semantic roles & 50–950 ramp

primary
#625AA8
secondary
#BDC09E
accent
#C761BD
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0B12
muted
#7E7C81

Preview Lab

Preview with #625AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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