#384EC1#384EC1

#384EC1 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.8% C 0.181 H 269.9°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#384EC1
RGBrgb(56, 78, 193)
HSLhsl(230, 55%, 49%)
HSVhsv(230, 71%, 76%)
CMYKcmyk(71%, 59.6%, 0%, 24.3%)
CIE-LABlab(38.09, 30.77, -62.73)
CIE-LCHlch(38.09, 69.87, 296.13°)
OKLaboklab(47.82% -0.0004 -0.181)
OKLCHoklch(47.82% 0.181 269.9)
XYZxyz(13.9776, 10.1384, 51.6620)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384EC1 #C1AB38
analogous
#3893C1 #384EC1 #6738C1
triadic
#384EC1 #C1384E #4EC138
tetradic
#384EC1 #C13893 #C1AB38 #38C167
square
#384EC1 #C13893 #C1AB38 #38C167
split-complementary
#384EC1 #C16738 #93C138
monochromatic
#1C2862 #2A3B92 #384EC1 #6476D2 #94A0E0

Accessibility & contrast

On white

6.94
#384EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#384EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #384EC1
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384EC1#FFFFFF#000000##FFFFFF
##384EC11.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#0054BF
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #384ec1;
/* rgb */ color: rgb(56, 78, 193);
/* oklch */ color: oklch(47.8% 0.181 269.9);
Tailwind
colors: {
  custom: {
    50: '#817fd5',
    500: '#384ec1',
    950: '#000000',
  },
}
SCSS
$custom: #384ec1;
$custom-light: #817fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#384ec1",
  "rgb": {
    "r": 56,
    "g": 78,
    "b": 193
  },
  "hsl": {
    "h": 230.365,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47821,
    "c": 0.18098,
    "h": 269.9
  },
  "luminance": 0.1014
}

Semantic roles & 50–950 ramp

primary
#384EC1
secondary
#CBC18A
accent
#C649DE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #384EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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