#384AC7#384AC7

#384AC7 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.6% C 0.194 H 270.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#384AC7
RGBrgb(56, 74, 199)
HSLhsl(232, 56%, 50%)
HSVhsv(232, 72%, 78%)
CMYKcmyk(71.9%, 62.8%, 0%, 22%)
CIE-LABlab(37.59, 35.46, -67.04)
CIE-LCHlch(37.59, 75.85, 297.88°)
OKLaboklab(47.6% 0.0023 -0.1937)
OKLCHoklch(47.6% 0.194 270.7)
XYZxyz(14.3850, 9.8604, 55.1669)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384AC7 #C7B538
analogous
#3891C7 #384AC7 #6E38C7
triadic
#384AC7 #C7384A #4AC738
tetradic
#384AC7 #C73891 #C7B538 #38C76E
square
#384AC7 #C73891 #C7B538 #38C76E
split-complementary
#384AC7 #C76E38 #91C738
monochromatic
#1D2667 #2B3897 #384AC7 #6875D4 #98A1E2

Accessibility & contrast

On white

7.06
#384AC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#384AC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384AC7
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384AC7#FFFFFF#000000##FFFFFF
##384AC71.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#0052C5
Tritanopia (blue-blind)
#006A81
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #384ac7;
/* rgb */ color: rgb(56, 74, 199);
/* oklch */ color: oklch(47.6% 0.194 270.7);
Tailwind
colors: {
  custom: {
    50: '#827cd9',
    500: '#384ac7',
    950: '#000000',
  },
}
SCSS
$custom: #384ac7;
$custom-light: #827cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#384ac7",
  "rgb": {
    "r": 56,
    "g": 74,
    "b": 199
  },
  "hsl": {
    "h": 232.448,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.47604,
    "c": 0.19368,
    "h": 270.7
  },
  "luminance": 0.09862
}

Semantic roles & 50–950 ramp

primary
#384AC7
secondary
#CDC58D
accent
#CC48DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #384AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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