#635AA5#635AA5

#635AA5 is a mid, moderate blue. Relative luminance 0.127; OKLCH L 51.1% C 0.116 H 287.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#635AA5
RGBrgb(99, 90, 165)
HSLhsl(247, 29%, 50%)
HSVhsv(247, 45%, 65%)
CMYKcmyk(40%, 45.5%, 0%, 35.3%)
CIE-LABlab(42.28, 22.51, -39.36)
CIE-LCHlch(42.28, 45.34, 299.76°)
OKLaboklab(51.13% 0.034 -0.1111)
OKLCHoklch(51.13% 0.116 287)
XYZxyz(15.5914, 12.6811, 37.2162)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#635AA5 #9CA55A
analogous
#5A76A5 #635AA5 #895AA5
triadic
#635AA5 #A5635A #5AA563
tetradic
#635AA5 #A55A76 #9CA55A #5AA589
square
#635AA5 #A55A76 #9CA55A #5AA589
split-complementary
#635AA5 #A5895A #76A55A
monochromatic
#332F56 #4B447D #635AA5 #8882BB #AEA9D0

Accessibility & contrast

On white

5.94
#635AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #635AA5
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##635AA5#FFFFFF#000000##FFFFFF
##635AA51.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F66A8
Deuteranopia (green-blind)
#3E62A3
Tritanopia (blue-blind)
#516977
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #635aa5;
/* rgb */ color: rgb(99, 90, 165);
/* oklch */ color: oklch(51.1% 0.116 287.0);
Tailwind
colors: {
  custom: {
    50: '#9388c0',
    500: '#635aa5',
    950: '#000000',
  },
}
SCSS
$custom: #635aa5;
$custom-light: #9388c0;
$custom-dark: #000000;
JSON
{
  "hex": "#635aa5",
  "rgb": {
    "r": 99,
    "g": 90,
    "b": 165
  },
  "hsl": {
    "h": 247.2,
    "s": 29.412,
    "l": 50
  },
  "oklch": {
    "l": 0.51132,
    "c": 0.1162,
    "h": 287
  },
  "luminance": 0.12682
}

Semantic roles & 50–950 ramp

primary
#635AA5
secondary
#BABE9D
accent
#C662BA
background
#F9F8FB
surface
#F1F0F7
border
#CBCBD0
text
#0D0B12
muted
#7E7C81

Preview Lab

Preview with #635AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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