#6387EC#6387EC

#6387EC is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.5% C 0.156 H 267.2°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#6387EC
RGBrgb(99, 135, 236)
HSLhsl(224, 78%, 66%)
HSVhsv(224, 58%, 93%)
CMYKcmyk(58.1%, 42.8%, 0%, 7.5%)
CIE-LABlab(58.07, 17.13, -54.88)
CIE-LCHlch(58.07, 57.49, 287.33°)
OKLaboklab(64.46% -0.0077 -0.1562)
OKLCHoklch(64.46% 0.156 267.2)
XYZxyz(28.9448, 26.0344, 82.8404)
Luminance0.2604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6387EC #ECC863
analogous
#63CBEC #6387EC #8363EC
triadic
#6387EC #EC6387 #87EC63
tetradic
#6387EC #EC63CB #ECC863 #63EC83
square
#6387EC #EC63CB #ECC863 #63EC83
split-complementary
#6387EC #EC8363 #CBEC63
monochromatic
#1743BE #2C5DE5 #6387EC #9AB1F3 #D0DBF9

Accessibility & contrast

On white

3.38
#6387EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#6387EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6387EC
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6387EC#FFFFFF#000000##000000
##6387EC1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92F0
Deuteranopia (green-blind)
#4786EA
Tritanopia (blue-blind)
#009EAE
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #6387ec;
/* rgb */ color: rgb(99, 135, 236);
/* oklch */ color: oklch(64.5% 0.156 267.2);
Tailwind
colors: {
  custom: {
    50: '#9aa9f3',
    500: '#6387ec',
    950: '#000000',
  },
}
SCSS
$custom: #6387ec;
$custom-light: #9aa9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6387ec",
  "rgb": {
    "r": 99,
    "g": 135,
    "b": 236
  },
  "hsl": {
    "h": 224.234,
    "s": 78.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64455,
    "c": 0.15643,
    "h": 267.2
  },
  "luminance": 0.26037
}

Semantic roles & 50–950 ramp

primary
#6387EC
secondary
#ECE0BF
accent
#A40BDB
background
#FAFAFE
surface
#F3F4FD
border
#CDCED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6387EC

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

Preview Lab → · Contrast checker → · Palette generator →

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