#384E9D#384E9D

#384E9D is a dark, vivid blue. Relative luminance 0.087; OKLCH L 45.0% C 0.131 H 268.9°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#384E9D
RGBrgb(56, 78, 157)
HSLhsl(227, 47%, 42%)
HSVhsv(227, 64%, 62%)
CMYKcmyk(64.3%, 50.3%, 0%, 38.4%)
CIE-LABlab(35.45, 17.70, -45.68)
CIE-LCHlch(35.45, 48.99, 291.18°)
OKLaboklab(45% -0.0024 -0.1308)
OKLCHoklch(45% 0.131 268.9)
XYZxyz(10.4390, 8.7229, 33.0253)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384E9D #9D8738
analogous
#38819D #384E9D #55389D
triadic
#384E9D #9D384E #4E9D38
tetradic
#384E9D #9D3881 #9D8738 #389D55
square
#384E9D #9D3881 #9D8738 #389D55
split-complementary
#384E9D #9D5538 #819D38
monochromatic
#182143 #283870 #384E9D #516AC1 #7E90D1

Accessibility & contrast

On white

7.65
#384E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#384E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384E9D
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384E9D#FFFFFF#000000##FFFFFF
##384E9D1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2358A0
Deuteranopia (green-blind)
#0B4F9B
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #384e9d;
/* rgb */ color: rgb(56, 78, 157);
/* oklch */ color: oklch(45.0% 0.131 268.9);
Tailwind
colors: {
  custom: {
    50: '#797fba',
    500: '#384e9d',
    950: '#000000',
  },
}
SCSS
$custom: #384e9d;
$custom-light: #797fba;
$custom-dark: #000000;
JSON
{
  "hex": "#384e9d",
  "rgb": {
    "r": 56,
    "g": 78,
    "b": 157
  },
  "hsl": {
    "h": 226.931,
    "s": 47.418,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44999,
    "c": 0.13084,
    "h": 268.9
  },
  "luminance": 0.08724
}

Semantic roles & 50–950 ramp

primary
#384E9D
secondary
#BAAC76
accent
#BA51D7
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #384E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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