#384AB1#384AB1

#384AB1 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.7% C 0.164 H 270.9°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#384AB1
RGBrgb(56, 74, 177)
HSLhsl(231, 52%, 46%)
HSVhsv(231, 68%, 69%)
CMYKcmyk(68.4%, 58.2%, 0%, 30.6%)
CIE-LABlab(35.81, 27.59, -57.03)
CIE-LCHlch(35.81, 63.35, 295.82°)
OKLaboklab(45.73% 0.0026 -0.1643)
OKLCHoklch(45.73% 0.164 270.9)
XYZxyz(12.0128, 8.9115, 42.6735)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384AB1 #B19F38
analogous
#3886B1 #384AB1 #6238B1
triadic
#384AB1 #B1384A #4AB138
tetradic
#384AB1 #B13886 #B19F38 #38B162
square
#384AB1 #B13886 #B19F38 #38B162
split-complementary
#384AB1 #B16238 #86B138
monochromatic
#1B2354 #293783 #384AB1 #5B6CCB #8A96DA

Accessibility & contrast

On white

7.55
#384AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#384AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384AB1
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384AB1#FFFFFF#000000##FFFFFF
##384AB11.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#004FAF
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #384ab1;
/* rgb */ color: rgb(56, 74, 177);
/* oklch */ color: oklch(45.7% 0.164 270.9);
Tailwind
colors: {
  custom: {
    50: '#7d7cc9',
    500: '#384ab1',
    950: '#000000',
  },
}
SCSS
$custom: #384ab1;
$custom-light: #7d7cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#384ab1",
  "rgb": {
    "r": 56,
    "g": 74,
    "b": 177
  },
  "hsl": {
    "h": 231.074,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45734,
    "c": 0.16428,
    "h": 270.9
  },
  "luminance": 0.08913
}

Semantic roles & 50–950 ramp

primary
#384AB1
secondary
#C4BA81
accent
#C64CDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #384AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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