#638AF7#638AF7

#638AF7 is a light, vivid blue. Relative luminance 0.275; OKLCH L 65.7% C 0.168 H 267.0°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#638AF7
RGBrgb(99, 138, 247)
HSLhsl(224, 90%, 68%)
HSVhsv(224, 60%, 97%)
CMYKcmyk(59.9%, 44.1%, 0%, 3.1%)
CIE-LABlab(59.47, 18.92, -58.72)
CIE-LCHlch(59.47, 61.69, 287.86°)
OKLaboklab(65.73% -0.0089 -0.1675)
OKLCHoklch(65.73% 0.168 267)
XYZxyz(31.0169, 27.5424, 91.6593)
Luminance0.2754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638AF7 #F7D063
analogous
#63D4F7 #638AF7 #8663F7
triadic
#638AF7 #F7638A #8AF763
tetradic
#638AF7 #F763D4 #F7D063 #63F786
square
#638AF7 #F763D4 #F7D063 #63F786
split-complementary
#638AF7 #F78663 #D4F763
monochromatic
#0B40D5 #295EF4 #638AF7 #9DB6FA #D7E1FD

Accessibility & contrast

On white

3.23
#638AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#638AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638AF7
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638AF7#FFFFFF#000000##000000
##638AF71.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5796FB
Deuteranopia (green-blind)
#4189F5
Tritanopia (blue-blind)
#00A3B4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #638af7;
/* rgb */ color: rgb(99, 138, 247);
/* oklch */ color: oklch(65.7% 0.168 267.0);
Tailwind
colors: {
  custom: {
    50: '#9babfa',
    500: '#638af7',
    950: '#000000',
  },
}
SCSS
$custom: #638af7;
$custom-light: #9babfa;
$custom-dark: #000000;
JSON
{
  "hex": "#638af7",
  "rgb": {
    "r": 99,
    "g": 138,
    "b": 247
  },
  "hsl": {
    "h": 224.189,
    "s": 90.244,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6573,
    "c": 0.16773,
    "h": 267
  },
  "luminance": 0.27545
}

Semantic roles & 50–950 ramp

primary
#638AF7
secondary
#F2E6C4
accent
#A900E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #638AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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