#384EB2#384EB2

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

Color values

HEX#384EB2
RGBrgb(56, 78, 178)
HSLhsl(229, 52%, 46%)
HSVhsv(229, 69%, 70%)
CMYKcmyk(68.5%, 56.2%, 0%, 30.2%)
CIE-LABlab(36.93, 25.34, -55.80)
CIE-LCHlch(36.93, 61.29, 294.43°)
OKLaboklab(46.6% -0.0007 -0.1606)
OKLCHoklch(46.6% 0.161 269.7)
XYZxyz(12.3884, 9.5027, 43.2922)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384EB2 #B29C38
analogous
#388BB2 #384EB2 #5F38B2
triadic
#384EB2 #B2384E #4EB238
tetradic
#384EB2 #B2388B #B29C38 #38B25F
square
#384EB2 #B2388B #B29C38 #38B25F
split-complementary
#384EB2 #B25F38 #8BB238
monochromatic
#1B2555 #293A83 #384EB2 #5C70CC #8A99DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##384EB2#FFFFFF#000000##FFFFFF
##384EB21.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)
#005DB5
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #384eb2;
/* rgb */ color: rgb(56, 78, 178);
/* oklch */ color: oklch(46.6% 0.161 269.7);
Tailwind
colors: {
  custom: {
    50: '#7d7fca',
    500: '#384eb2',
    950: '#000000',
  },
}
SCSS
$custom: #384eb2;
$custom-light: #7d7fca;
$custom-dark: #000000;
JSON
{
  "hex": "#384eb2",
  "rgb": {
    "r": 56,
    "g": 78,
    "b": 178
  },
  "hsl": {
    "h": 229.18,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46596,
    "c": 0.1606,
    "h": 269.7
  },
  "luminance": 0.09504
}

Semantic roles & 50–950 ramp

primary
#384EB2
secondary
#C5B881
accent
#C24CDC
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #384EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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