#384CA5#384CA5

#384CA5 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.2% C 0.145 H 270.1°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#384CA5
RGBrgb(56, 76, 165)
HSLhsl(229, 49%, 43%)
HSVhsv(229, 66%, 65%)
CMYKcmyk(66.1%, 53.9%, 0%, 35.3%)
CIE-LABlab(35.45, 21.93, -50.47)
CIE-LCHlch(35.45, 55.03, 293.48°)
OKLaboklab(45.18% 0.0003 -0.145)
OKLCHoklch(45.18% 0.145 270.1)
XYZxyz(11.0046, 8.7253, 36.6942)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384CA5 #A59138
analogous
#3882A5 #384CA5 #5A38A5
triadic
#384CA5 #A5384C #4CA538
tetradic
#384CA5 #A53882 #A59138 #38A55A
square
#384CA5 #A53882 #A59138 #38A55A
split-complementary
#384CA5 #A55A38 #82A538
monochromatic
#19224A #283777 #384CA5 #556AC5 #8392D5

Accessibility & contrast

On white

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

On black

2.75
#384CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##384CA5#FFFFFF#000000##FFFFFF
##384CA51.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1058A8
Deuteranopia (green-blind)
#004FA3
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #384ca5;
/* rgb */ color: rgb(56, 76, 165);
/* oklch */ color: oklch(45.2% 0.145 270.1);
Tailwind
colors: {
  custom: {
    50: '#7b7dc0',
    500: '#384ca5',
    950: '#000000',
  },
}
SCSS
$custom: #384ca5;
$custom-light: #7b7dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#384ca5",
  "rgb": {
    "r": 56,
    "g": 76,
    "b": 165
  },
  "hsl": {
    "h": 228.991,
    "s": 49.321,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45179,
    "c": 0.14496,
    "h": 270.1
  },
  "luminance": 0.08726
}

Semantic roles & 50–950 ramp

primary
#384CA5
secondary
#BEB27A
accent
#C04FD9
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #384CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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