#384EA7#384EA7

#384EA7 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.7% C 0.145 H 269.4°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#384EA7
RGBrgb(56, 78, 167)
HSLhsl(228, 50%, 44%)
HSVhsv(228, 66%, 65%)
CMYKcmyk(66.5%, 53.3%, 0%, 34.5%)
CIE-LABlab(36.13, 21.34, -50.56)
CIE-LCHlch(36.13, 54.88, 292.88°)
OKLaboklab(45.74% -0.0014 -0.1452)
OKLCHoklch(45.74% 0.145 269.4)
XYZxyz(11.3280, 9.0785, 37.7071)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384EA7 #A79138
analogous
#3885A7 #384EA7 #5938A7
triadic
#384EA7 #A7384E #4EA738
tetradic
#384EA7 #A73885 #A79138 #38A759
square
#384EA7 #A73885 #A79138 #38A759
split-complementary
#384EA7 #A75938 #85A738
monochromatic
#19234B #293979 #384EA7 #566CC6 #8494D6

Accessibility & contrast

On white

7.46
#384EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#384EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384EA7
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384EA7#FFFFFF#000000##FFFFFF
##384EA71.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145AAA
Deuteranopia (green-blind)
#0050A5
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #384ea7;
/* rgb */ color: rgb(56, 78, 167);
/* oklch */ color: oklch(45.7% 0.145 269.4);
Tailwind
colors: {
  custom: {
    50: '#7b7fc2',
    500: '#384ea7',
    950: '#000000',
  },
}
SCSS
$custom: #384ea7;
$custom-light: #7b7fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#384ea7",
  "rgb": {
    "r": 56,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 228.108,
    "s": 49.776,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45741,
    "c": 0.1452,
    "h": 269.4
  },
  "luminance": 0.0908
}

Semantic roles & 50–950 ramp

primary
#384EA7
secondary
#BFB27B
accent
#BE4FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #384EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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