#384CC5#384CC5

#384CC5 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.8% C 0.189 H 270.3°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#384CC5
RGBrgb(56, 76, 197)
HSLhsl(231, 56%, 50%)
HSVhsv(231, 72%, 77%)
CMYKcmyk(71.6%, 61.4%, 0%, 22.7%)
CIE-LABlab(37.91, 33.48, -65.35)
CIE-LCHlch(37.91, 73.43, 297.13°)
OKLaboklab(47.79% 0.001 -0.1887)
OKLCHoklch(47.79% 0.189 270.3)
XYZxyz(14.2899, 10.0394, 53.9972)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384CC5 #C5B138
analogous
#3893C5 #384CC5 #6A38C5
triadic
#384CC5 #C5384C #4CC538
tetradic
#384CC5 #C53893 #C5B138 #38C56A
square
#384CC5 #C53893 #C5B138 #38C56A
split-complementary
#384CC5 #C56A38 #93C538
monochromatic
#1D2766 #2A3A95 #384CC5 #6776D4 #96A1E1

Accessibility & contrast

On white

6.98
#384CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#384CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #384CC5
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384CC5#FFFFFF#000000##FFFFFF
##384CC51.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C9
Deuteranopia (green-blind)
#0053C3
Tritanopia (blue-blind)
#006B81
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #384cc5;
/* rgb */ color: rgb(56, 76, 197);
/* oklch */ color: oklch(47.8% 0.189 270.3);
Tailwind
colors: {
  custom: {
    50: '#827ed8',
    500: '#384cc5',
    950: '#000000',
  },
}
SCSS
$custom: #384cc5;
$custom-light: #827ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#384cc5",
  "rgb": {
    "r": 56,
    "g": 76,
    "b": 197
  },
  "hsl": {
    "h": 231.489,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47791,
    "c": 0.18869,
    "h": 270.3
  },
  "luminance": 0.10041
}

Semantic roles & 50–950 ramp

primary
#384CC5
secondary
#CDC38C
accent
#CA49DF
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #384CC5

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

Preview Lab → · Contrast checker → · Palette generator →

#384CC5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva