#638CF7#638CF7

#638CF7 is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.1% C 0.165 H 266.2°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#638CF7
RGBrgb(99, 140, 247)
HSLhsl(223, 90%, 68%)
HSVhsv(223, 60%, 97%)
CMYKcmyk(59.9%, 43.3%, 0%, 3.1%)
CIE-LABlab(60.00, 17.72, -57.88)
CIE-LCHlch(60.00, 60.53, 287.03°)
OKLaboklab(66.13% -0.0109 -0.165)
OKLCHoklch(66.13% 0.165 266.2)
XYZxyz(31.3064, 28.1215, 91.7559)
Luminance0.2812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638CF7 #F7CE63
analogous
#63D6F7 #638CF7 #8463F7
triadic
#638CF7 #F7638C #8CF763
tetradic
#638CF7 #F763D6 #F7CE63 #63F784
square
#638CF7 #F763D6 #F7CE63 #63F784
split-complementary
#638CF7 #F78463 #D6F763
monochromatic
#0B43D5 #2961F4 #638CF7 #9DB7FA #D7E2FD

Accessibility & contrast

On white

3.17
#638CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#638CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638CF7
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638CF7#FFFFFF#000000##000000
##638CF71.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B98FB
Deuteranopia (green-blind)
#458AF5
Tritanopia (blue-blind)
#00A4B5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #638cf7;
/* rgb */ color: rgb(99, 140, 247);
/* oklch */ color: oklch(66.1% 0.165 266.2);
Tailwind
colors: {
  custom: {
    50: '#9badfa',
    500: '#638cf7',
    950: '#000000',
  },
}
SCSS
$custom: #638cf7;
$custom-light: #9badfa;
$custom-dark: #000000;
JSON
{
  "hex": "#638cf7",
  "rgb": {
    "r": 99,
    "g": 140,
    "b": 247
  },
  "hsl": {
    "h": 223.378,
    "s": 90.244,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66133,
    "c": 0.16536,
    "h": 266.2
  },
  "luminance": 0.28124
}

Semantic roles & 50–950 ramp

primary
#638CF7
secondary
#F2E5C4
accent
#A600E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #638CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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