#635F8A#635F8A

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

Color values

HEX#635F8A
RGBrgb(99, 95, 138)
HSLhsl(246, 18%, 46%)
HSVhsv(246, 31%, 54%)
CMYKcmyk(28.3%, 31.2%, 0%, 45.9%)
CIE-LABlab(42.26, 11.81, -23.24)
CIE-LCHlch(42.26, 26.06, 296.94°)
OKLaboklab(50.68% 0.0209 -0.0644)
OKLCHoklch(50.68% 0.068 288)
XYZxyz(13.8241, 12.6718, 25.7574)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#635F8A #868A5F
analogous
#5F708A #635F8A #785F8A
triadic
#635F8A #8A635F #5F8A63
tetradic
#635F8A #8A5F70 #868A5F #5F8A78
square
#635F8A #8A5F70 #868A5F #5F8A78
split-complementary
#635F8A #8A785F #708A5F
monochromatic
#2F2D42 #494666 #635F8A #837FA7 #A6A3C0

Accessibility & contrast

On white

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

On black

3.53
#635F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##635F8A#FFFFFF#000000##FFFFFF
##635F8A1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53658C
Deuteranopia (green-blind)
#536389
Tritanopia (blue-blind)
#5A676E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #635f8a;
/* rgb */ color: rgb(99, 95, 138);
/* oklch */ color: oklch(50.7% 0.068 288.0);
Tailwind
colors: {
  custom: {
    50: '#908cac',
    500: '#635f8a',
    950: '#000000',
  },
}
SCSS
$custom: #635f8a;
$custom-light: #908cac;
$custom-dark: #000000;
JSON
{
  "hex": "#635f8a",
  "rgb": {
    "r": 99,
    "g": 95,
    "b": 138
  },
  "hsl": {
    "h": 245.581,
    "s": 18.455,
    "l": 45.686
  },
  "oklch": {
    "l": 0.50678,
    "c": 0.0677,
    "h": 288
  },
  "luminance": 0.12672
}

Semantic roles & 50–950 ramp

primary
#635F8A
secondary
#ACAE96
accent
#BB6DB4
background
#F8F8FA
surface
#F0F0F4
border
#CBCBCE
text
#0C0C10
muted
#7D7D7F

Preview Lab

Preview with #635F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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