#635FC7#635FC7

#635FC7 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.3% C 0.157 H 281.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#635FC7
RGBrgb(99, 95, 199)
HSLhsl(242, 48%, 58%)
HSVhsv(242, 52%, 78%)
CMYKcmyk(50.3%, 52.3%, 0%, 22%)
CIE-LABlab(45.58, 29.69, -53.96)
CIE-LCHlch(45.58, 61.58, 298.82°)
OKLaboklab(54.27% 0.0314 -0.1539)
OKLCHoklch(54.27% 0.157 281.5)
XYZxyz(19.5435, 14.9595, 55.8794)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#635FC7 #C3C75F
analogous
#5F8FC7 #635FC7 #975FC7
triadic
#635FC7 #C7635F #5FC763
tetradic
#635FC7 #C75F8F #C3C75F #5FC797
square
#635FC7 #C75F8F #C3C75F #5FC797
split-complementary
#635FC7 #C7975F #8FC75F
monochromatic
#302C7F #413CAC #635FC7 #8F8CD7 #BBBAE7

Accessibility & contrast

On white

5.26
#635FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#635FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #635FC7
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##635FC7#FFFFFF#000000##FFFFFF
##635FC71.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2970CB
Deuteranopia (green-blind)
#2068C5
Tritanopia (blue-blind)
#3C768A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #635fc7;
/* rgb */ color: rgb(99, 95, 199);
/* oklch */ color: oklch(54.3% 0.157 281.5);
Tailwind
colors: {
  custom: {
    50: '#968cd9',
    500: '#635fc7',
    950: '#000000',
  },
}
SCSS
$custom: #635fc7;
$custom-light: #968cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#635fc7",
  "rgb": {
    "r": 99,
    "g": 95,
    "b": 199
  },
  "hsl": {
    "h": 242.308,
    "s": 48.148,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54271,
    "c": 0.15708,
    "h": 281.5
  },
  "luminance": 0.14961
}

Semantic roles & 50–950 ramp

primary
#635FC7
secondary
#D4D6AC
accent
#D850D3
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #635FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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