#384EA2#384EA2

#384EA2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.4% C 0.138 H 269.2°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#384EA2
RGBrgb(56, 78, 162)
HSLhsl(228, 49%, 43%)
HSVhsv(228, 65%, 64%)
CMYKcmyk(65.4%, 51.9%, 0%, 36.5%)
CIE-LABlab(35.79, 19.52, -48.13)
CIE-LCHlch(35.79, 51.94, 292.07°)
OKLaboklab(45.37% -0.0019 -0.138)
OKLCHoklch(45.37% 0.138 269.2)
XYZxyz(10.8746, 8.8972, 35.3197)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384EA2 #A28C38
analogous
#3883A2 #384EA2 #5738A2
triadic
#384EA2 #A2384E #4EA238
tetradic
#384EA2 #A23883 #A28C38 #38A257
square
#384EA2 #A23883 #A28C38 #38A257
split-complementary
#384EA2 #A25738 #83A238
monochromatic
#192247 #283875 #384EA2 #536BC4 #8192D3

Accessibility & contrast

On white

7.56
#384EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#384EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384EA2
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384EA2#FFFFFF#000000##FFFFFF
##384EA21.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D59A5
Deuteranopia (green-blind)
#0050A0
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #384ea2;
/* rgb */ color: rgb(56, 78, 162);
/* oklch */ color: oklch(45.4% 0.138 269.2);
Tailwind
colors: {
  custom: {
    50: '#7a7fbe',
    500: '#384ea2',
    950: '#000000',
  },
}
SCSS
$custom: #384ea2;
$custom-light: #7a7fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#384ea2",
  "rgb": {
    "r": 56,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 227.547,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45366,
    "c": 0.13806,
    "h": 269.2
  },
  "luminance": 0.08898
}

Semantic roles & 50–950 ramp

primary
#384EA2
secondary
#BDAF79
accent
#BC50D8
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #384EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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