#384AB7#384AB7

#384AB7 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.2% C 0.172 H 270.9°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#384AB7
RGBrgb(56, 74, 183)
HSLhsl(231, 53%, 47%)
HSVhsv(231, 69%, 72%)
CMYKcmyk(69.4%, 59.6%, 0%, 28.2%)
CIE-LABlab(36.28, 29.75, -59.81)
CIE-LCHlch(36.28, 66.80, 296.45°)
OKLaboklab(46.23% 0.0027 -0.1724)
OKLCHoklch(46.23% 0.172 270.9)
XYZxyz(12.6240, 9.1560, 45.8926)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384AB7 #B7A538
analogous
#388AB7 #384AB7 #6638B7
triadic
#384AB7 #B7384A #4AB738
tetradic
#384AB7 #B7388A #B7A538 #38B766
square
#384AB7 #B7388A #B7A538 #38B766
split-complementary
#384AB7 #B76638 #8AB738
monochromatic
#1B2459 #2A3788 #384AB7 #5E6ECE #8D98DC

Accessibility & contrast

On white

7.42
#384AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#384AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384AB7
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384AB7#FFFFFF#000000##FFFFFF
##384AB71.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#0050B5
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #384ab7;
/* rgb */ color: rgb(56, 74, 183);
/* oklch */ color: oklch(46.2% 0.172 270.9);
Tailwind
colors: {
  custom: {
    50: '#7f7ccd',
    500: '#384ab7',
    950: '#000000',
  },
}
SCSS
$custom: #384ab7;
$custom-light: #7f7ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#384ab7",
  "rgb": {
    "r": 56,
    "g": 74,
    "b": 183
  },
  "hsl": {
    "h": 231.496,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46231,
    "c": 0.17246,
    "h": 270.9
  },
  "luminance": 0.09157
}

Semantic roles & 50–950 ramp

primary
#384AB7
secondary
#C7BD84
accent
#C84BDD
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #384AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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