#384AB2#384AB2

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

Color values

HEX#384AB2
RGBrgb(56, 74, 178)
HSLhsl(231, 52%, 46%)
HSVhsv(231, 69%, 70%)
CMYKcmyk(68.5%, 58.4%, 0%, 30.2%)
CIE-LABlab(35.89, 27.95, -57.50)
CIE-LCHlch(35.89, 63.93, 295.93°)
OKLaboklab(45.82% 0.0026 -0.1656)
OKLCHoklch(45.82% 0.166 270.9)
XYZxyz(12.1128, 8.9515, 43.2003)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384AB2 #B2A038
analogous
#3887B2 #384AB2 #6338B2
triadic
#384AB2 #B2384A #4AB238
tetradic
#384AB2 #B23887 #B2A038 #38B263
square
#384AB2 #B23887 #B2A038 #38B263
split-complementary
#384AB2 #B26338 #87B238
monochromatic
#1B2355 #293783 #384AB2 #5C6CCC #8A96DA

Accessibility & contrast

On white

7.53
#384AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#384AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384AB2
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384AB2#FFFFFF#000000##FFFFFF
##384AB21.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #384ab2;
/* rgb */ color: rgb(56, 74, 178);
/* oklch */ color: oklch(45.8% 0.166 270.9);
Tailwind
colors: {
  custom: {
    50: '#7e7cca',
    500: '#384ab2',
    950: '#000000',
  },
}
SCSS
$custom: #384ab2;
$custom-light: #7e7cca;
$custom-dark: #000000;
JSON
{
  "hex": "#384ab2",
  "rgb": {
    "r": 56,
    "g": 74,
    "b": 178
  },
  "hsl": {
    "h": 231.148,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45816,
    "c": 0.16566,
    "h": 270.9
  },
  "luminance": 0.08953
}

Semantic roles & 50–950 ramp

primary
#384AB2
secondary
#C5BB81
accent
#C64CDC
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #384AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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