#384DC5#384DC5

#384DC5 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.0% C 0.187 H 270.1°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#384DC5
RGBrgb(56, 77, 197)
HSLhsl(231, 56%, 50%)
HSVhsv(231, 72%, 77%)
CMYKcmyk(71.6%, 60.9%, 0%, 22.7%)
CIE-LABlab(38.16, 32.85, -64.95)
CIE-LCHlch(38.16, 72.78, 296.83°)
OKLaboklab(47.97% 0.0003 -0.1875)
OKLCHoklch(47.97% 0.187 270.1)
XYZxyz(14.3594, 10.1783, 54.0203)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384DC5 #C5B038
analogous
#3893C5 #384DC5 #6A38C5
triadic
#384DC5 #C5384D #4DC538
tetradic
#384DC5 #C53893 #C5B038 #38C56A
square
#384DC5 #C53893 #C5B038 #38C56A
split-complementary
#384DC5 #C56A38 #93C538
monochromatic
#1D2866 #2A3A95 #384DC5 #6777D4 #96A1E1

Accessibility & contrast

On white

6.92
#384DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#384DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #384DC5
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384DC5#FFFFFF#000000##FFFFFF
##384DC51.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#0053C3
Tritanopia (blue-blind)
#006B81
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #384dc5;
/* rgb */ color: rgb(56, 77, 197);
/* oklch */ color: oklch(48.0% 0.187 270.1);
Tailwind
colors: {
  custom: {
    50: '#817ed8',
    500: '#384dc5',
    950: '#000000',
  },
}
SCSS
$custom: #384dc5;
$custom-light: #817ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#384dc5",
  "rgb": {
    "r": 56,
    "g": 77,
    "b": 197
  },
  "hsl": {
    "h": 231.064,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47974,
    "c": 0.18749,
    "h": 270.1
  },
  "luminance": 0.1018
}

Semantic roles & 50–950 ramp

primary
#384DC5
secondary
#CDC38C
accent
#C949DF
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #384DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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