#638CFB#638CFB

#638CFB is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.4% C 0.171 H 266.5°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#638CFB
RGBrgb(99, 140, 251)
HSLhsl(224, 95%, 69%)
HSVhsv(224, 61%, 98%)
CMYKcmyk(60.6%, 44.2%, 0%, 1.6%)
CIE-LABlab(60.22, 19.04, -59.72)
CIE-LCHlch(60.22, 62.68, 287.68°)
OKLaboklab(66.38% -0.0103 -0.1704)
OKLCHoklch(66.38% 0.171 266.5)
XYZxyz(31.9303, 28.3711, 95.0416)
Luminance0.2837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638CFB #FBD263
analogous
#63D8FB #638CFB #8663FB
triadic
#638CFB #FB638C #8CFB63
tetradic
#638CFB #FB63D8 #FBD263 #63FB86
square
#638CFB #FB63D8 #FBD263 #63FB86
split-complementary
#638CFB #FB8663 #D8FB63
monochromatic
#0640DE #2760F9 #638CFB #9FB8FD #DAE4FE

Accessibility & contrast

On white

3.15
#638CFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#638CFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638CFB
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638CFB#FFFFFF#000000##000000
##638CFB1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5898FF
Deuteranopia (green-blind)
#408BF9
Tritanopia (blue-blind)
#00A5B7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #638cfb;
/* rgb */ color: rgb(99, 140, 251);
/* oklch */ color: oklch(66.4% 0.171 266.5);
Tailwind
colors: {
  custom: {
    50: '#9cadfd',
    500: '#638cfb',
    950: '#000000',
  },
}
SCSS
$custom: #638cfb;
$custom-light: #9cadfd;
$custom-dark: #000000;
JSON
{
  "hex": "#638cfb",
  "rgb": {
    "r": 99,
    "g": 140,
    "b": 251
  },
  "hsl": {
    "h": 223.816,
    "s": 95,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66377,
    "c": 0.17072,
    "h": 266.5
  },
  "luminance": 0.28374
}

Semantic roles & 50–950 ramp

primary
#638CFB
secondary
#F4E7C6
accent
#A800E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #638CFB

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

Preview Lab → · Contrast checker → · Palette generator →

#638CFB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva