#6381EB#6381EB

#6381EB is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.2% C 0.162 H 269.4°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#6381EB
RGBrgb(99, 129, 235)
HSLhsl(227, 77%, 65%)
HSVhsv(227, 58%, 92%)
CMYKcmyk(57.9%, 45.1%, 0%, 7.8%)
CIE-LABlab(56.44, 20.42, -56.93)
CIE-LCHlch(56.44, 60.48, 289.73°)
OKLaboklab(63.19% -0.0016 -0.1623)
OKLCHoklch(63.19% 0.162 269.4)
XYZxyz(27.9862, 24.3491, 81.8062)
Luminance0.2435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6381EB #EBCD63
analogous
#63C5EB #6381EB #8963EB
triadic
#6381EB #EB6381 #81EB63
tetradic
#6381EB #EB63C5 #EBCD63 #63EB89
square
#6381EB #EB63C5 #EBCD63 #63EB89
split-complementary
#6381EB #EB8963 #C5EB63
monochromatic
#183CBC #2D55E4 #6381EB #99ADF2 #CFD9F9

Accessibility & contrast

On white

3.58
#6381EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#6381EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6381EB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6381EB#FFFFFF#000000##000000
##6381EB1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#508EEF
Deuteranopia (green-blind)
#3C82E9
Tritanopia (blue-blind)
#0099AB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #6381eb;
/* rgb */ color: rgb(99, 129, 235);
/* oklch */ color: oklch(63.2% 0.162 269.4);
Tailwind
colors: {
  custom: {
    50: '#9aa5f2',
    500: '#6381eb',
    950: '#000000',
  },
}
SCSS
$custom: #6381eb;
$custom-light: #9aa5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6381eb",
  "rgb": {
    "r": 99,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 226.765,
    "s": 77.273,
    "l": 65.49
  },
  "oklch": {
    "l": 0.63186,
    "c": 0.16235,
    "h": 269.4
  },
  "luminance": 0.24351
}

Semantic roles & 50–950 ramp

primary
#6381EB
secondary
#ECE2BE
accent
#AC0CDA
background
#FAFAFE
surface
#F3F4FD
border
#CDCED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6381EB

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

Preview Lab → · Contrast checker → · Palette generator →

#6381EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva