#635AA6#635AA6

#635AA6 is a mid, moderate blue. Relative luminance 0.127; OKLCH L 51.2% C 0.118 H 286.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#635AA6
RGBrgb(99, 90, 166)
HSLhsl(247, 30%, 50%)
HSVhsv(247, 46%, 65%)
CMYKcmyk(40.4%, 45.8%, 0%, 34.9%)
CIE-LABlab(42.33, 22.80, -39.86)
CIE-LCHlch(42.33, 45.92, 299.77°)
OKLaboklab(51.19% 0.0342 -0.1126)
OKLCHoklch(51.19% 0.118 286.9)
XYZxyz(15.6828, 12.7176, 37.6974)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#635AA6 #9DA65A
analogous
#5A77A6 #635AA6 #895AA6
triadic
#635AA6 #A6635A #5AA663
tetradic
#635AA6 #A65A77 #9DA65A #5AA689
square
#635AA6 #A65A77 #9DA65A #5AA689
split-complementary
#635AA6 #A6895A #77A65A
monochromatic
#342F57 #4B447F #635AA6 #8982BB #AEAAD1

Accessibility & contrast

On white

5.93
#635AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#635AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #635AA6
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##635AA6#FFFFFF#000000##FFFFFF
##635AA61.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E66A9
Deuteranopia (green-blind)
#3D62A4
Tritanopia (blue-blind)
#506978
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #635aa6;
/* rgb */ color: rgb(99, 90, 166);
/* oklch */ color: oklch(51.2% 0.118 286.9);
Tailwind
colors: {
  custom: {
    50: '#9388c1',
    500: '#635aa6',
    950: '#000000',
  },
}
SCSS
$custom: #635aa6;
$custom-light: #9388c1;
$custom-dark: #000000;
JSON
{
  "hex": "#635aa6",
  "rgb": {
    "r": 99,
    "g": 90,
    "b": 166
  },
  "hsl": {
    "h": 247.105,
    "s": 29.921,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51192,
    "c": 0.11766,
    "h": 286.9
  },
  "luminance": 0.12718
}

Semantic roles & 50–950 ramp

primary
#635AA6
secondary
#BBBF9D
accent
#C662BA
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0B12
muted
#7E7C81

Preview Lab

Preview with #635AA6

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

Preview Lab → · Contrast checker → · Palette generator →

#635AA6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva