#6381CD#6381CD

#6381CD is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.4% C 0.121 H 266.6°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#6381CD
RGBrgb(99, 129, 205)
HSLhsl(223, 51%, 60%)
HSVhsv(223, 52%, 80%)
CMYKcmyk(51.7%, 37.1%, 0%, 19.6%)
CIE-LABlab(54.82, 10.81, -42.65)
CIE-LCHlch(54.82, 44.00, 284.22°)
OKLaboklab(61.42% -0.0072 -0.1205)
OKLCHoklch(61.42% 0.121 266.6)
XYZxyz(24.0117, 22.7593, 60.8735)
Luminance0.2276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6381CD #CDAF63
analogous
#63B6CD #6381CD #7A63CD
triadic
#6381CD #CD6381 #81CD63
tetradic
#6381CD #CD63B6 #CDAF63 #63CD7A
square
#6381CD #CD63B6 #CDAF63 #63CD7A
split-complementary
#6381CD #CD7A63 #B6CD63
monochromatic
#2C478A #3B5EB8 #6381CD #91A6DC #C0CCEB

Accessibility & contrast

On white

3.78
#6381CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#6381CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6381CD
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6381CD#FFFFFF#000000##000000
##6381CD1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6388D0
Deuteranopia (green-blind)
#577FCB
Tritanopia (blue-blind)
#31919D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6381cd;
/* rgb */ color: rgb(99, 129, 205);
/* oklch */ color: oklch(61.4% 0.121 266.6);
Tailwind
colors: {
  custom: {
    50: '#96a5dc',
    500: '#6381cd',
    950: '#000000',
  },
}
SCSS
$custom: #6381cd;
$custom-light: #96a5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6381cd",
  "rgb": {
    "r": 99,
    "g": 129,
    "b": 205
  },
  "hsl": {
    "h": 223.019,
    "s": 51.456,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61423,
    "c": 0.12073,
    "h": 266.6
  },
  "luminance": 0.22761
}

Semantic roles & 50–950 ramp

primary
#6381CD
secondary
#DACFB1
accent
#B34DDB
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #6381CD

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

Preview Lab → · Contrast checker → · Palette generator →

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