#6381FB#6381FB

#6381FB is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.2% C 0.184 H 270.1°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#6381FB
RGBrgb(99, 129, 251)
HSLhsl(228, 95%, 69%)
HSVhsv(228, 61%, 98%)
CMYKcmyk(60.6%, 48.6%, 0%, 1.6%)
CIE-LABlab(57.38, 25.65, -64.28)
CIE-LCHlch(57.38, 69.20, 291.75°)
OKLaboklab(64.21% 0.0004 -0.1839)
OKLCHoklch(64.21% 0.184 270.1)
XYZxyz(30.4026, 25.3156, 94.5323)
Luminance0.2532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6381FB #FBDD63
analogous
#63CDFB #6381FB #9163FB
triadic
#6381FB #FB6381 #81FB63
tetradic
#6381FB #FB63CD #FBDD63 #63FB91
square
#6381FB #FB63CD #FBDD63 #63FB91
split-complementary
#6381FB #FB9163 #CDFB63
monochromatic
#0630DE #2751F9 #6381FB #9FB1FD #DAE1FE

Accessibility & contrast

On white

3.46
#6381FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#6381FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6381FB
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6381FB#FFFFFF#000000##000000
##6381FB1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4191FF
Deuteranopia (green-blind)
#2183F8
Tritanopia (blue-blind)
#009DB2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6381fb;
/* rgb */ color: rgb(99, 129, 251);
/* oklch */ color: oklch(64.2% 0.184 270.1);
Tailwind
colors: {
  custom: {
    50: '#9ca5fd',
    500: '#6381fb',
    950: '#000000',
  },
}
SCSS
$custom: #6381fb;
$custom-light: #9ca5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#6381fb",
  "rgb": {
    "r": 99,
    "g": 129,
    "b": 251
  },
  "hsl": {
    "h": 228.158,
    "s": 95,
    "l": 68.627
  },
  "oklch": {
    "l": 0.64211,
    "c": 0.18394,
    "h": 270.1
  },
  "luminance": 0.25318
}

Semantic roles & 50–950 ramp

primary
#6381FB
secondary
#F4EBC6
accent
#B800E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #6381FB

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

Preview Lab → · Contrast checker → · Palette generator →

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