#384EA5#384EA5

#384EA5 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.6% C 0.142 H 269.4°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#384EA5
RGBrgb(56, 78, 165)
HSLhsl(228, 49%, 43%)
HSVhsv(228, 66%, 65%)
CMYKcmyk(66.1%, 52.7%, 0%, 35.3%)
CIE-LABlab(35.99, 20.61, -49.59)
CIE-LCHlch(35.99, 53.71, 292.57°)
OKLaboklab(45.59% -0.0016 -0.1423)
OKLCHoklch(45.59% 0.142 269.4)
XYZxyz(11.1445, 9.0051, 36.7409)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384EA5 #A58F38
analogous
#3884A5 #384EA5 #5838A5
triadic
#384EA5 #A5384E #4EA538
tetradic
#384EA5 #A53884 #A58F38 #38A558
square
#384EA5 #A53884 #A58F38 #38A558
split-complementary
#384EA5 #A55838 #84A538
monochromatic
#19234A #283877 #384EA5 #556CC5 #8393D5

Accessibility & contrast

On white

7.50
#384EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#384EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384EA5
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384EA5#FFFFFF#000000##FFFFFF
##384EA51.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185AA8
Deuteranopia (green-blind)
#0050A3
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #384ea5;
/* rgb */ color: rgb(56, 78, 165);
/* oklch */ color: oklch(45.6% 0.142 269.4);
Tailwind
colors: {
  custom: {
    50: '#7b7fc0',
    500: '#384ea5',
    950: '#000000',
  },
}
SCSS
$custom: #384ea5;
$custom-light: #7b7fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#384ea5",
  "rgb": {
    "r": 56,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 227.89,
    "s": 49.321,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4559,
    "c": 0.14235,
    "h": 269.4
  },
  "luminance": 0.09006
}

Semantic roles & 50–950 ramp

primary
#384EA5
secondary
#BEB17A
accent
#BD4FD9
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #384EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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