#384CA1#384CA1

#384CA1 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.9% C 0.139 H 270.0°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#384CA1
RGBrgb(56, 76, 161)
HSLhsl(229, 48%, 43%)
HSVhsv(229, 65%, 63%)
CMYKcmyk(65.2%, 52.8%, 0%, 36.9%)
CIE-LABlab(35.17, 20.48, -48.53)
CIE-LCHlch(35.17, 52.68, 292.87°)
OKLaboklab(44.88% 0 -0.1393)
OKLCHoklch(44.88% 0.139 270)
XYZxyz(10.6462, 8.5819, 34.8067)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384CA1 #A18D38
analogous
#3881A1 #384CA1 #5838A1
triadic
#384CA1 #A1384C #4CA138
tetradic
#384CA1 #A13881 #A18D38 #38A158
square
#384CA1 #A13881 #A18D38 #38A158
split-complementary
#384CA1 #A15838 #81A138
monochromatic
#182146 #283774 #384CA1 #5368C3 #8090D3

Accessibility & contrast

On white

7.73
#384CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#384CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384CA1
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384CA1#FFFFFF#000000##FFFFFF
##384CA11.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1858A4
Deuteranopia (green-blind)
#004E9F
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #384ca1;
/* rgb */ color: rgb(56, 76, 161);
/* oklch */ color: oklch(44.9% 0.139 270.0);
Tailwind
colors: {
  custom: {
    50: '#7a7dbd',
    500: '#384ca1',
    950: '#000000',
  },
}
SCSS
$custom: #384ca1;
$custom-light: #7a7dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#384ca1",
  "rgb": {
    "r": 56,
    "g": 76,
    "b": 161
  },
  "hsl": {
    "h": 228.571,
    "s": 48.387,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44876,
    "c": 0.13925,
    "h": 270
  },
  "luminance": 0.08583
}

Semantic roles & 50–950 ramp

primary
#384CA1
secondary
#BCAF78
accent
#BE50D8
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #384CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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