#384CB7#384CB7

#384CB7 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.6% C 0.170 H 270.4°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#384CB7
RGBrgb(56, 76, 183)
HSLhsl(231, 53%, 47%)
HSVhsv(231, 69%, 72%)
CMYKcmyk(69.4%, 58.5%, 0%, 28.2%)
CIE-LABlab(36.79, 28.46, -58.98)
CIE-LCHlch(36.79, 65.48, 295.76°)
OKLaboklab(46.61% 0.0011 -0.17)
OKLCHoklch(46.61% 0.17 270.4)
XYZxyz(12.7597, 9.4273, 45.9378)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384CB7 #B7A338
analogous
#388CB7 #384CB7 #6438B7
triadic
#384CB7 #B7384C #4CB738
tetradic
#384CB7 #B7388C #B7A338 #38B764
square
#384CB7 #B7388C #B7A338 #38B764
split-complementary
#384CB7 #B76438 #8CB738
monochromatic
#1B2559 #2A3988 #384CB7 #5E70CE #8D9ADC

Accessibility & contrast

On white

7.28
#384CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#384CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384CB7
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384CB7#FFFFFF#000000##FFFFFF
##384CB71.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#0051B5
Tritanopia (blue-blind)
#00667A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #384cb7;
/* rgb */ color: rgb(56, 76, 183);
/* oklch */ color: oklch(46.6% 0.170 270.4);
Tailwind
colors: {
  custom: {
    50: '#7f7dcd',
    500: '#384cb7',
    950: '#000000',
  },
}
SCSS
$custom: #384cb7;
$custom-light: #7f7dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#384cb7",
  "rgb": {
    "r": 56,
    "g": 76,
    "b": 183
  },
  "hsl": {
    "h": 230.551,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46611,
    "c": 0.16997,
    "h": 270.4
  },
  "luminance": 0.09429
}

Semantic roles & 50–950 ramp

primary
#384CB7
secondary
#C7BC84
accent
#C64BDD
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #384CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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