#384D9B#384D9B

#384D9B is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.6% C 0.129 H 269.3°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#384D9B
RGBrgb(56, 77, 155)
HSLhsl(227, 47%, 41%)
HSVhsv(227, 64%, 61%)
CMYKcmyk(63.9%, 50.3%, 0%, 39.2%)
CIE-LABlab(35.03, 17.64, -45.14)
CIE-LCHlch(35.03, 48.46, 291.34°)
OKLaboklab(44.64% -0.0016 -0.1292)
OKLCHoklch(44.64% 0.129 269.3)
XYZxyz(10.1992, 8.5142, 32.1099)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384D9B #9B8638
analogous
#387F9B #384D9B #55389B
triadic
#384D9B #9B384D #4D9B38
tetradic
#384D9B #9B387F #9B8638 #389B55
square
#384D9B #9B387F #9B8638 #389B55
split-complementary
#384D9B #9B5538 #7F9B38
monochromatic
#182041 #28376E #384D9B #5068C0 #7D8FD0

Accessibility & contrast

On white

7.77
#384D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#384D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384D9B
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384D9B#FFFFFF#000000##FFFFFF
##384D9B1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23579E
Deuteranopia (green-blind)
#0C4E99
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #384d9b;
/* rgb */ color: rgb(56, 77, 155);
/* oklch */ color: oklch(44.6% 0.129 269.3);
Tailwind
colors: {
  custom: {
    50: '#797eb9',
    500: '#384d9b',
    950: '#000000',
  },
}
SCSS
$custom: #384d9b;
$custom-light: #797eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#384d9b",
  "rgb": {
    "r": 56,
    "g": 77,
    "b": 155
  },
  "hsl": {
    "h": 227.273,
    "s": 46.919,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44642,
    "c": 0.12926,
    "h": 269.3
  },
  "luminance": 0.08515
}

Semantic roles & 50–950 ramp

primary
#384D9B
secondary
#B9AB75
accent
#BA51D7
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #384D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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