#384EB5#384EB5

#384EB5 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.8% C 0.165 H 269.8°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#384EB5
RGBrgb(56, 78, 181)
HSLhsl(229, 53%, 46%)
HSVhsv(229, 69%, 71%)
CMYKcmyk(69.1%, 56.9%, 0%, 29%)
CIE-LABlab(37.16, 26.43, -57.21)
CIE-LCHlch(37.16, 63.02, 294.80°)
OKLaboklab(46.84% -0.0006 -0.1647)
OKLCHoklch(46.84% 0.165 269.8)
XYZxyz(12.6929, 9.6245, 44.8959)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384EB5 #B59F38
analogous
#388DB5 #384EB5 #6138B5
triadic
#384EB5 #B5384E #4EB538
tetradic
#384EB5 #B5388D #B59F38 #38B561
square
#384EB5 #B5388D #B59F38 #38B561
split-complementary
#384EB5 #B56138 #8DB538
monochromatic
#1B2658 #2A3A86 #384EB5 #5D71CD #8C9ADB

Accessibility & contrast

On white

7.18
#384EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#384EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384EB5
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384EB5#FFFFFF#000000##FFFFFF
##384EB51.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#0052B3
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #384eb5;
/* rgb */ color: rgb(56, 78, 181);
/* oklch */ color: oklch(46.8% 0.165 269.8);
Tailwind
colors: {
  custom: {
    50: '#7e7fcc',
    500: '#384eb5',
    950: '#000000',
  },
}
SCSS
$custom: #384eb5;
$custom-light: #7e7fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#384eb5",
  "rgb": {
    "r": 56,
    "g": 78,
    "b": 181
  },
  "hsl": {
    "h": 229.44,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46836,
    "c": 0.16473,
    "h": 269.8
  },
  "luminance": 0.09626
}

Semantic roles & 50–950 ramp

primary
#384EB5
secondary
#C6BA83
accent
#C34CDC
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #384EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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