#638AFA#638AFA

#638AFA is a light, vivid blue. Relative luminance 0.277; OKLCH L 65.9% C 0.172 H 267.2°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#638AFA
RGBrgb(99, 138, 250)
HSLhsl(225, 94%, 68%)
HSVhsv(225, 60%, 98%)
CMYKcmyk(60.4%, 44.8%, 0%, 2%)
CIE-LABlab(59.64, 19.91, -60.10)
CIE-LCHlch(59.64, 63.31, 288.33°)
OKLaboklab(65.92% -0.0085 -0.1715)
OKLCHoklch(65.92% 0.172 267.2)
XYZxyz(31.4835, 27.7290, 94.1171)
Luminance0.2773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638AFA #FAD363
analogous
#63D6FA #638AFA #8763FA
triadic
#638AFA #FA638A #8AFA63
tetradic
#638AFA #FA63D6 #FAD363 #63FA87
square
#638AFA #FA63D6 #FAD363 #63FA87
split-complementary
#638AFA #FA8763 #D6FA63
monochromatic
#073EDC #285EF8 #638AFA #9EB6FC #DAE3FE

Accessibility & contrast

On white

3.21
#638AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#638AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638AFA
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638AFA#FFFFFF#000000##000000
##638AFA1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5597FE
Deuteranopia (green-blind)
#3D89F8
Tritanopia (blue-blind)
#00A3B6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #638afa;
/* rgb */ color: rgb(99, 138, 250);
/* oklch */ color: oklch(65.9% 0.172 267.2);
Tailwind
colors: {
  custom: {
    50: '#9cabfc',
    500: '#638afa',
    950: '#000000',
  },
}
SCSS
$custom: #638afa;
$custom-light: #9cabfc;
$custom-dark: #000000;
JSON
{
  "hex": "#638afa",
  "rgb": {
    "r": 99,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 224.503,
    "s": 93.789,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65915,
    "c": 0.17175,
    "h": 267.2
  },
  "luminance": 0.27732
}

Semantic roles & 50–950 ramp

primary
#638AFA
secondary
#F3E7C6
accent
#AA00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #638AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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