#635BA6#635BA6

#635BA6 is a mid, moderate blue. Relative luminance 0.129; OKLCH L 51.4% C 0.116 H 286.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#635BA6
RGBrgb(99, 91, 166)
HSLhsl(246, 30%, 50%)
HSVhsv(246, 45%, 65%)
CMYKcmyk(40.4%, 45.2%, 0%, 34.9%)
CIE-LABlab(42.59, 22.18, -39.45)
CIE-LCHlch(42.59, 45.26, 299.34°)
OKLaboklab(51.39% 0.0329 -0.1114)
OKLCHoklch(51.39% 0.116 286.4)
XYZxyz(15.7677, 12.8874, 37.7257)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#635BA6 #9EA65B
analogous
#5B78A6 #635BA6 #885BA6
triadic
#635BA6 #A6635B #5BA663
tetradic
#635BA6 #A65B78 #9EA65B #5BA688
square
#635BA6 #A65B78 #9EA65B #5BA688
split-complementary
#635BA6 #A6885B #78A65B
monochromatic
#342F57 #4B457F #635BA6 #8983BC #AEAAD1

Accessibility & contrast

On white

5.87
#635BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#635BA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #635BA6
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##635BA6#FFFFFF#000000##FFFFFF
##635BA61.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4067A9
Deuteranopia (green-blind)
#3F62A4
Tritanopia (blue-blind)
#506A78
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #635ba6;
/* rgb */ color: rgb(99, 91, 166);
/* oklch */ color: oklch(51.4% 0.116 286.4);
Tailwind
colors: {
  custom: {
    50: '#9389c1',
    500: '#635ba6',
    950: '#000000',
  },
}
SCSS
$custom: #635ba6;
$custom-light: #9389c1;
$custom-dark: #000000;
JSON
{
  "hex": "#635ba6",
  "rgb": {
    "r": 99,
    "g": 91,
    "b": 166
  },
  "hsl": {
    "h": 246.4,
    "s": 29.644,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51388,
    "c": 0.11612,
    "h": 286.4
  },
  "luminance": 0.12888
}

Semantic roles & 50–950 ramp

primary
#635BA6
secondary
#BCBF9E
accent
#C662BB
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0B12
muted
#7E7C81

Preview Lab

Preview with #635BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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