#384BA1#384BA1

#384BA1 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.7% C 0.141 H 270.4°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#384BA1
RGBrgb(56, 75, 161)
HSLhsl(229, 48%, 43%)
HSVhsv(229, 65%, 63%)
CMYKcmyk(65.2%, 53.4%, 0%, 36.9%)
CIE-LABlab(34.89, 21.14, -48.97)
CIE-LCHlch(34.89, 53.34, 293.34°)
OKLaboklab(44.67% 0.001 -0.1406)
OKLCHoklch(44.67% 0.141 270.4)
XYZxyz(10.5778, 8.4452, 34.7839)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384BA1 #A18E38
analogous
#387FA1 #384BA1 #5A38A1
triadic
#384BA1 #A1384B #4BA138
tetradic
#384BA1 #A1387F #A18E38 #38A15A
square
#384BA1 #A1387F #A18E38 #38A15A
split-complementary
#384BA1 #A15A38 #7FA138
monochromatic
#182146 #283674 #384BA1 #5367C3 #808FD3

Accessibility & contrast

On white

7.81
#384BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#384BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384BA1
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384BA1#FFFFFF#000000##FFFFFF
##384BA11.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1457A4
Deuteranopia (green-blind)
#004E9F
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #384ba1;
/* rgb */ color: rgb(56, 75, 161);
/* oklch */ color: oklch(44.7% 0.141 270.4);
Tailwind
colors: {
  custom: {
    50: '#7a7dbd',
    500: '#384ba1',
    950: '#000000',
  },
}
SCSS
$custom: #384ba1;
$custom-light: #7a7dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#384ba1",
  "rgb": {
    "r": 56,
    "g": 75,
    "b": 161
  },
  "hsl": {
    "h": 229.143,
    "s": 48.387,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44669,
    "c": 0.14056,
    "h": 270.4
  },
  "luminance": 0.08446
}

Semantic roles & 50–950 ramp

primary
#384BA1
secondary
#BCB078
accent
#BF50D8
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #384BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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