#384CB9#384CB9

#384CB9 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.8% C 0.173 H 270.4°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#384CB9
RGBrgb(56, 76, 185)
HSLhsl(231, 54%, 47%)
HSVhsv(231, 70%, 73%)
CMYKcmyk(69.7%, 58.9%, 0%, 27.5%)
CIE-LABlab(36.95, 29.18, -59.90)
CIE-LCHlch(36.95, 66.63, 295.97°)
OKLaboklab(46.78% 0.0011 -0.1727)
OKLCHoklch(46.78% 0.173 270.4)
XYZxyz(12.9693, 9.5111, 47.0419)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384CB9 #B9A538
analogous
#388CB9 #384CB9 #6538B9
triadic
#384CB9 #B9384C #4CB938
tetradic
#384CB9 #B9388C #B9A538 #38B965
square
#384CB9 #B9388C #B9A538 #38B965
split-complementary
#384CB9 #B96538 #8CB938
monochromatic
#1C255B #2A398A #384CB9 #5F71CF #8E9BDD

Accessibility & contrast

On white

7.24
#384CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#384CB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384CB9
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384CB9#FFFFFF#000000##FFFFFF
##384CB91.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#0051B7
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #384cb9;
/* rgb */ color: rgb(56, 76, 185);
/* oklch */ color: oklch(46.8% 0.173 270.4);
Tailwind
colors: {
  custom: {
    50: '#7f7dcf',
    500: '#384cb9',
    950: '#000000',
  },
}
SCSS
$custom: #384cb9;
$custom-light: #7f7dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#384cb9",
  "rgb": {
    "r": 56,
    "g": 76,
    "b": 185
  },
  "hsl": {
    "h": 230.698,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46776,
    "c": 0.17268,
    "h": 270.4
  },
  "luminance": 0.09512
}

Semantic roles & 50–950 ramp

primary
#384CB9
secondary
#C8BD85
accent
#C64BDD
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #384CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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