#6387F8#6387F8

#6387F8 is a light, vivid blue. Relative luminance 0.268; OKLCH L 65.2% C 0.173 H 268.1°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#6387F8
RGBrgb(99, 135, 248)
HSLhsl(226, 91%, 68%)
HSVhsv(226, 60%, 97%)
CMYKcmyk(60.1%, 45.6%, 0%, 2.7%)
CIE-LABlab(58.75, 21.05, -60.43)
CIE-LCHlch(58.75, 63.99, 289.20°)
OKLaboklab(65.19% -0.0058 -0.1726)
OKLCHoklch(65.19% 0.173 268.1)
XYZxyz(30.7471, 26.7553, 92.3327)
Luminance0.2676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6387F8 #F8D463
analogous
#63D2F8 #6387F8 #8963F8
triadic
#6387F8 #F86387 #87F863
tetradic
#6387F8 #F863D2 #F8D463 #63F889
square
#6387F8 #F863D2 #F8D463 #63F889
split-complementary
#6387F8 #F88963 #D2F863
monochromatic
#0A3BD7 #285AF5 #6387F8 #9EB4FB #D8E1FD

Accessibility & contrast

On white

3.31
#6387F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#6387F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6387F8
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6387F8#FFFFFF#000000##000000
##6387F81.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5194FC
Deuteranopia (green-blind)
#3987F6
Tritanopia (blue-blind)
#00A1B3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #6387f8;
/* rgb */ color: rgb(99, 135, 248);
/* oklch */ color: oklch(65.2% 0.173 268.1);
Tailwind
colors: {
  custom: {
    50: '#9ba9fb',
    500: '#6387f8',
    950: '#000000',
  },
}
SCSS
$custom: #6387f8;
$custom-light: #9ba9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#6387f8",
  "rgb": {
    "r": 99,
    "g": 135,
    "b": 248
  },
  "hsl": {
    "h": 225.503,
    "s": 91.411,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65193,
    "c": 0.17266,
    "h": 268.1
  },
  "luminance": 0.26758
}

Semantic roles & 50–950 ramp

primary
#6387F8
secondary
#F2E7C5
accent
#AE00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6387F8

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

Preview Lab → · Contrast checker → · Palette generator →

#6387F8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva