#6381EA#6381EA

#6381EA is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.1% C 0.161 H 269.4°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#6381EA
RGBrgb(99, 129, 234)
HSLhsl(227, 76%, 65%)
HSVhsv(227, 58%, 92%)
CMYKcmyk(57.7%, 44.9%, 0%, 8.2%)
CIE-LABlab(56.38, 20.09, -56.46)
CIE-LCHlch(56.38, 59.93, 289.59°)
OKLaboklab(63.12% -0.0017 -0.161)
OKLCHoklch(63.12% 0.161 269.4)
XYZxyz(27.8422, 24.2915, 81.0475)
Luminance0.2429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6381EA #EACC63
analogous
#63C4EA #6381EA #8963EA
triadic
#6381EA #EA6381 #81EA63
tetradic
#6381EA #EA63C4 #EACC63 #63EA89
square
#6381EA #EA63C4 #EACC63 #63EA89
split-complementary
#6381EA #EA8963 #C4EA63
monochromatic
#193DBA #2D55E3 #6381EA #99ADF1 #CFD8F9

Accessibility & contrast

On white

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

On black

5.86
#6381EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6381EA
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6381EA#FFFFFF#000000##000000
##6381EA1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#518EEE
Deuteranopia (green-blind)
#3D82E8
Tritanopia (blue-blind)
#0098AA
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #6381ea;
/* rgb */ color: rgb(99, 129, 234);
/* oklch */ color: oklch(63.1% 0.161 269.4);
Tailwind
colors: {
  custom: {
    50: '#99a5f1',
    500: '#6381ea',
    950: '#000000',
  },
}
SCSS
$custom: #6381ea;
$custom-light: #99a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6381ea",
  "rgb": {
    "r": 99,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 226.667,
    "s": 76.271,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63123,
    "c": 0.16099,
    "h": 269.4
  },
  "luminance": 0.24294
}

Semantic roles & 50–950 ramp

primary
#6381EA
secondary
#EBE1BE
accent
#AB0DD8
background
#FAFAFE
surface
#F3F4FD
border
#CDCED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6381EA

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

Preview Lab → · Contrast checker → · Palette generator →

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