#6387EA#6387EA

#6387EA is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.3% C 0.154 H 267.0°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#6387EA
RGBrgb(99, 135, 234)
HSLhsl(224, 76%, 65%)
HSVhsv(224, 58%, 92%)
CMYKcmyk(57.7%, 42.3%, 0%, 8.2%)
CIE-LABlab(57.96, 16.48, -53.94)
CIE-LCHlch(57.96, 56.40, 286.99°)
OKLaboklab(64.33% -0.008 -0.1535)
OKLCHoklch(64.33% 0.154 267)
XYZxyz(28.6558, 25.9188, 81.3187)
Luminance0.2592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6387EA #EAC663
analogous
#63CAEA #6387EA #8263EA
triadic
#6387EA #EA6387 #87EA63
tetradic
#6387EA #EA63CA #EAC663 #63EA82
square
#6387EA #EA63CA #EAC663 #63EA82
split-complementary
#6387EA #EA8263 #CAEA63
monochromatic
#1944BA #2D5EE3 #6387EA #99B0F1 #CFDAF9

Accessibility & contrast

On white

3.40
#6387EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#6387EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6387EA
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6387EA#FFFFFF#000000##000000
##6387EA1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B92EE
Deuteranopia (green-blind)
#4986E8
Tritanopia (blue-blind)
#009DAD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #6387ea;
/* rgb */ color: rgb(99, 135, 234);
/* oklch */ color: oklch(64.3% 0.154 267.0);
Tailwind
colors: {
  custom: {
    50: '#99a9f1',
    500: '#6387ea',
    950: '#000000',
  },
}
SCSS
$custom: #6387ea;
$custom-light: #99a9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6387ea",
  "rgb": {
    "r": 99,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 224,
    "s": 76.271,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64335,
    "c": 0.15371,
    "h": 267
  },
  "luminance": 0.25921
}

Semantic roles & 50–950 ramp

primary
#6387EA
secondary
#EBDFBE
accent
#A20DD8
background
#FAFAFE
surface
#F3F4FD
border
#CDCED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6387EA

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

Preview Lab → · Contrast checker → · Palette generator →

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