#638FEC#638FEC

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

Color values

HEX#638FEC
RGBrgb(99, 143, 236)
HSLhsl(221, 78%, 66%)
HSVhsv(221, 58%, 93%)
CMYKcmyk(58.1%, 39.4%, 0%, 7.5%)
CIE-LABlab(60.20, 12.35, -51.48)
CIE-LCHlch(60.20, 52.94, 283.49°)
OKLaboklab(66.1% -0.016 -0.1462)
OKLCHoklch(66.1% 0.147 263.7)
XYZxyz(30.1032, 28.3512, 83.2266)
Luminance0.2835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638FEC #ECC063
analogous
#63D3EC #638FEC #7B63EC
triadic
#638FEC #EC638F #8FEC63
tetradic
#638FEC #EC63D3 #ECC063 #63EC7B
square
#638FEC #EC63D3 #ECC063 #63EC7B
split-complementary
#638FEC #EC7B63 #D3EC63
monochromatic
#174DBE #2C68E5 #638FEC #9AB6F3 #D0DDF9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##638FEC#FFFFFF#000000##000000
##638FEC1.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)
#6798F0
Deuteranopia (green-blind)
#558BEA
Tritanopia (blue-blind)
#00A4B2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #638fec;
/* rgb */ color: rgb(99, 143, 236);
/* oklch */ color: oklch(66.1% 0.147 263.7);
Tailwind
colors: {
  custom: {
    50: '#99aff2',
    500: '#638fec',
    950: '#000000',
  },
}
SCSS
$custom: #638fec;
$custom-light: #99aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#638fec",
  "rgb": {
    "r": 99,
    "g": 143,
    "b": 236
  },
  "hsl": {
    "h": 220.73,
    "s": 78.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.66099,
    "c": 0.14708,
    "h": 263.7
  },
  "luminance": 0.28354
}

Semantic roles & 50–950 ramp

primary
#638FEC
secondary
#ECDEBF
accent
#980BDB
background
#FAFAFE
surface
#F3F4FD
border
#CDCED5
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #638FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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