#384AB4#384AB4

#384AB4 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.0% C 0.168 H 270.9°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#384AB4
RGBrgb(56, 74, 180)
HSLhsl(231, 53%, 46%)
HSVhsv(231, 69%, 71%)
CMYKcmyk(68.9%, 58.9%, 0%, 29.4%)
CIE-LABlab(36.05, 28.67, -58.42)
CIE-LCHlch(36.05, 65.08, 296.14°)
OKLaboklab(45.98% 0.0027 -0.1684)
OKLCHoklch(45.98% 0.168 270.9)
XYZxyz(12.3151, 9.0324, 44.2656)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384AB4 #B4A238
analogous
#3888B4 #384AB4 #6438B4
triadic
#384AB4 #B4384A #4AB438
tetradic
#384AB4 #B43888 #B4A238 #38B464
square
#384AB4 #B43888 #B4A238 #38B464
split-complementary
#384AB4 #B46438 #88B438
monochromatic
#1B2457 #293785 #384AB4 #5D6DCD #8B97DB

Accessibility & contrast

On white

7.48
#384AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#384AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384AB4
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384AB4#FFFFFF#000000##FFFFFF
##384AB41.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#004FB2
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #384ab4;
/* rgb */ color: rgb(56, 74, 180);
/* oklch */ color: oklch(46.0% 0.168 270.9);
Tailwind
colors: {
  custom: {
    50: '#7e7ccb',
    500: '#384ab4',
    950: '#000000',
  },
}
SCSS
$custom: #384ab4;
$custom-light: #7e7ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#384ab4",
  "rgb": {
    "r": 56,
    "g": 74,
    "b": 180
  },
  "hsl": {
    "h": 231.29,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45981,
    "c": 0.16839,
    "h": 270.9
  },
  "luminance": 0.09034
}

Semantic roles & 50–950 ramp

primary
#384AB4
secondary
#C5BC82
accent
#C74CDC
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #384AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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