#635CEB#635CEB

#635CEB is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.4% C 0.209 H 279.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#635CEB
RGBrgb(99, 92, 235)
HSLhsl(243, 78%, 64%)
HSVhsv(243, 61%, 92%)
CMYKcmyk(57.9%, 60.9%, 0%, 7.8%)
CIE-LABlab(47.37, 42.72, -71.56)
CIE-LCHlch(47.37, 83.34, 300.84°)
OKLaboklab(56.39% 0.0345 -0.2057)
OKLCHoklch(56.39% 0.209 279.5)
XYZxyz(23.9634, 16.3034, 80.4653)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#635CEB #E4EB5C
analogous
#5C9DEB #635CEB #AB5CEB
triadic
#635CEB #EB635C #5CEB63
tetradic
#635CEB #EB5C9D #E4EB5C #5CEBAB
square
#635CEB #EB5C9D #E4EB5C #5CEBAB
split-complementary
#635CEB #EBAB5C #9DEB5C
monochromatic
#1E16B6 #2F25E4 #635CEB #9793F2 #CBC9F8

Accessibility & contrast

On white

4.93
#635CEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#635CEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #635CEB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##635CEB#FFFFFF#000000##FFFFFF
##635CEB1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#006BE8
Tritanopia (blue-blind)
#007F9B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #635ceb;
/* rgb */ color: rgb(99, 92, 235);
/* oklch */ color: oklch(56.4% 0.209 279.5);
Tailwind
colors: {
  custom: {
    50: '#9c8bf2',
    500: '#635ceb',
    950: '#000000',
  },
}
SCSS
$custom: #635ceb;
$custom-light: #9c8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#635ceb",
  "rgb": {
    "r": 99,
    "g": 92,
    "b": 235
  },
  "hsl": {
    "h": 242.937,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56389,
    "c": 0.20859,
    "h": 279.5
  },
  "luminance": 0.16305
}

Semantic roles & 50–950 ramp

primary
#635CEB
secondary
#E8EAB8
accent
#DA0BD0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #635CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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