#6381F2#6381F2

#6381F2 is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.6% C 0.172 H 269.8°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#6381F2
RGBrgb(99, 129, 242)
HSLhsl(227, 85%, 67%)
HSVhsv(227, 59%, 95%)
CMYKcmyk(59.1%, 46.7%, 0%, 5.1%)
CIE-LABlab(56.84, 22.70, -60.17)
CIE-LCHlch(56.84, 64.31, 290.67°)
OKLaboklab(63.63% -0.0006 -0.1718)
OKLCHoklch(63.63% 0.172 269.8)
XYZxyz(29.0175, 24.7616, 87.2375)
Luminance0.2476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6381F2 #F2D463
analogous
#63C8F2 #6381F2 #8D63F2
triadic
#6381F2 #F26381 #81F263
tetradic
#6381F2 #F263C8 #F2D463 #63F28D
square
#6381F2 #F263C8 #F2D463 #63F28D
split-complementary
#6381F2 #F28D63 #C8F263
monochromatic
#1138CA #2B53ED #6381F2 #9BAFF7 #D4DCFB

Accessibility & contrast

On white

3.53
#6381F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#6381F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6381F2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6381F2#FFFFFF#000000##000000
##6381F21.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8FF6
Deuteranopia (green-blind)
#3282F0
Tritanopia (blue-blind)
#009BAE
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6381f2;
/* rgb */ color: rgb(99, 129, 242);
/* oklch */ color: oklch(63.6% 0.172 269.8);
Tailwind
colors: {
  custom: {
    50: '#9ba5f7',
    500: '#6381f2',
    950: '#000000',
  },
}
SCSS
$custom: #6381f2;
$custom-light: #9ba5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6381f2",
  "rgb": {
    "r": 99,
    "g": 129,
    "b": 242
  },
  "hsl": {
    "h": 227.413,
    "s": 84.615,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63627,
    "c": 0.17185,
    "h": 269.8
  },
  "luminance": 0.24764
}

Semantic roles & 50–950 ramp

primary
#6381F2
secondary
#EFE6C2
accent
#B304E1
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6381F2

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

Preview Lab → · Contrast checker → · Palette generator →

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