#384CB5#384CB5

#384CB5 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.4% C 0.167 H 270.3°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#384CB5
RGBrgb(56, 76, 181)
HSLhsl(230, 53%, 46%)
HSVhsv(230, 69%, 71%)
CMYKcmyk(69.1%, 58%, 0%, 29%)
CIE-LABlab(36.64, 27.73, -58.05)
CIE-LCHlch(36.64, 64.34, 295.54°)
OKLaboklab(46.45% 0.001 -0.1672)
OKLCHoklch(46.45% 0.167 270.3)
XYZxyz(12.5530, 9.3446, 44.8492)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384CB5 #B5A138
analogous
#388BB5 #384CB5 #6338B5
triadic
#384CB5 #B5384C #4CB538
tetradic
#384CB5 #B5388B #B5A138 #38B563
square
#384CB5 #B5388B #B5A138 #38B563
split-complementary
#384CB5 #B56338 #8BB538
monochromatic
#1B2558 #2A3886 #384CB5 #5D6FCD #8C99DB

Accessibility & contrast

On white

7.32
#384CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#384CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384CB5
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384CB5#FFFFFF#000000##FFFFFF
##384CB51.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#0051B3
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #384cb5;
/* rgb */ color: rgb(56, 76, 181);
/* oklch */ color: oklch(46.4% 0.167 270.3);
Tailwind
colors: {
  custom: {
    50: '#7e7dcc',
    500: '#384cb5',
    950: '#000000',
  },
}
SCSS
$custom: #384cb5;
$custom-light: #7e7dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#384cb5",
  "rgb": {
    "r": 56,
    "g": 76,
    "b": 181
  },
  "hsl": {
    "h": 230.4,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46447,
    "c": 0.16724,
    "h": 270.3
  },
  "luminance": 0.09346
}

Semantic roles & 50–950 ramp

primary
#384CB5
secondary
#C6BB83
accent
#C54CDC
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #384CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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