#6381EF#6381EF

#6381EF is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.4% C 0.168 H 269.6°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#6381EF
RGBrgb(99, 129, 239)
HSLhsl(227, 81%, 66%)
HSVhsv(227, 59%, 94%)
CMYKcmyk(58.6%, 46%, 0%, 6.3%)
CIE-LABlab(56.67, 21.72, -58.78)
CIE-LCHlch(56.67, 62.67, 290.28°)
OKLaboklab(63.44% -0.001 -0.1678)
OKLCHoklch(63.44% 0.168 269.6)
XYZxyz(28.5706, 24.5829, 84.8840)
Luminance0.2459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6381EF #EFD163
analogous
#63C7EF #6381EF #8B63EF
triadic
#6381EF #EF6381 #81EF63
tetradic
#6381EF #EF63C7 #EFD163 #63EF8B
square
#6381EF #EF63C7 #EFD163 #63EF8B
split-complementary
#6381EF #EF8B63 #C7EF63
monochromatic
#143AC4 #2B54E9 #6381EF #9BAEF5 #D2DBFA

Accessibility & contrast

On white

3.55
#6381EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#6381EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6381EF
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6381EF#FFFFFF#000000##000000
##6381EF1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8EF3
Deuteranopia (green-blind)
#3782ED
Tritanopia (blue-blind)
#009AAC
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6381ef;
/* rgb */ color: rgb(99, 129, 239);
/* oklch */ color: oklch(63.4% 0.168 269.6);
Tailwind
colors: {
  custom: {
    50: '#9aa5f5',
    500: '#6381ef',
    950: '#000000',
  },
}
SCSS
$custom: #6381ef;
$custom-light: #9aa5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6381ef",
  "rgb": {
    "r": 99,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 227.143,
    "s": 81.395,
    "l": 66.275
  },
  "oklch": {
    "l": 0.63437,
    "c": 0.16779,
    "h": 269.6
  },
  "luminance": 0.24585
}

Semantic roles & 50–950 ramp

primary
#6381EF
secondary
#EEE4C0
accent
#B008DE
background
#FAFAFF
surface
#F3F4FE
border
#CDCED6
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6381EF

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

Preview Lab → · Contrast checker → · Palette generator →

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