#638AFB#638AFB

#638AFB is a light, vivid blue. Relative luminance 0.278; OKLCH L 66.0% C 0.173 H 267.2°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#638AFB
RGBrgb(99, 138, 251)
HSLhsl(225, 95%, 69%)
HSVhsv(225, 61%, 98%)
CMYKcmyk(60.6%, 45%, 0%, 1.6%)
CIE-LABlab(59.70, 20.23, -60.56)
CIE-LCHlch(59.70, 63.85, 288.48°)
OKLaboklab(65.98% -0.0083 -0.1729)
OKLCHoklch(65.98% 0.173 267.2)
XYZxyz(31.6407, 27.7919, 94.9451)
Luminance0.2779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638AFB #FBD463
analogous
#63D6FB #638AFB #8863FB
triadic
#638AFB #FB638A #8AFB63
tetradic
#638AFB #FB63D6 #FBD463 #63FB88
square
#638AFB #FB63D6 #FBD463 #63FB88
split-complementary
#638AFB #FB8863 #D6FB63
monochromatic
#063DDE #275DF9 #638AFB #9FB7FD #DAE4FE

Accessibility & contrast

On white

3.20
#638AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#638AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638AFB
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638AFB#FFFFFF#000000##000000
##638AFB1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5497FF
Deuteranopia (green-blind)
#3C89F9
Tritanopia (blue-blind)
#00A4B6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #638afb;
/* rgb */ color: rgb(99, 138, 251);
/* oklch */ color: oklch(66.0% 0.173 267.2);
Tailwind
colors: {
  custom: {
    50: '#9cabfd',
    500: '#638afb',
    950: '#000000',
  },
}
SCSS
$custom: #638afb;
$custom-light: #9cabfd;
$custom-dark: #000000;
JSON
{
  "hex": "#638afb",
  "rgb": {
    "r": 99,
    "g": 138,
    "b": 251
  },
  "hsl": {
    "h": 224.605,
    "s": 95,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65977,
    "c": 0.17309,
    "h": 267.2
  },
  "luminance": 0.27795
}

Semantic roles & 50–950 ramp

primary
#638AFB
secondary
#F4E8C6
accent
#AB00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #638AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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