#635AA2#635AA2

#635AA2 is a mid, moderate blue. Relative luminance 0.126; OKLCH L 51.0% C 0.112 H 287.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#635AA2
RGBrgb(99, 90, 162)
HSLhsl(248, 29%, 49%)
HSVhsv(248, 44%, 64%)
CMYKcmyk(38.9%, 44.4%, 0%, 36.5%)
CIE-LABlab(42.11, 21.63, -37.84)
CIE-LCHlch(42.11, 43.59, 299.76°)
OKLaboklab(50.95% 0.0336 -0.1067)
OKLCHoklch(50.95% 0.112 287.5)
XYZxyz(15.3215, 12.5731, 35.7950)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#635AA2 #99A25A
analogous
#5A75A2 #635AA2 #875AA2
triadic
#635AA2 #A2635A #5AA263
tetradic
#635AA2 #A25A75 #99A25A #5AA287
square
#635AA2 #A25A75 #99A25A #5AA287
split-complementary
#635AA2 #A2875A #75A25A
monochromatic
#332E53 #4B447B #635AA2 #8880B9 #ADA8CF

Accessibility & contrast

On white

5.97
#635AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#635AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #635AA2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##635AA2#FFFFFF#000000##FFFFFF
##635AA21.005.973.515.97
#FFFFFF5.971.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4165A5
Deuteranopia (green-blind)
#4062A0
Tritanopia (blue-blind)
#526876
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #635aa2;
/* rgb */ color: rgb(99, 90, 162);
/* oklch */ color: oklch(51.0% 0.112 287.5);
Tailwind
colors: {
  custom: {
    50: '#9288be',
    500: '#635aa2',
    950: '#000000',
  },
}
SCSS
$custom: #635aa2;
$custom-light: #9288be;
$custom-dark: #000000;
JSON
{
  "hex": "#635aa2",
  "rgb": {
    "r": 99,
    "g": 90,
    "b": 162
  },
  "hsl": {
    "h": 247.5,
    "s": 28.571,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50952,
    "c": 0.11183,
    "h": 287.5
  },
  "luminance": 0.12574
}

Semantic roles & 50–950 ramp

primary
#635AA2
secondary
#B8BD9B
accent
#C563B9
background
#F9F8FB
surface
#F1F0F7
border
#CBCBD0
text
#0D0B12
muted
#7E7C81

Preview Lab

Preview with #635AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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