#384CA2#384CA2

#384CA2 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 45.0% C 0.141 H 270.0°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#384CA2
RGBrgb(56, 76, 162)
HSLhsl(229, 49%, 43%)
HSVhsv(229, 65%, 64%)
CMYKcmyk(65.4%, 53.1%, 0%, 36.5%)
CIE-LABlab(35.24, 20.84, -49.02)
CIE-LCHlch(35.24, 53.27, 293.03°)
OKLaboklab(44.95% 0.0001 -0.1407)
OKLCHoklch(44.95% 0.141 270)
XYZxyz(10.7347, 8.6173, 35.2730)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384CA2 #A28E38
analogous
#3881A2 #384CA2 #5938A2
triadic
#384CA2 #A2384C #4CA238
tetradic
#384CA2 #A23881 #A28E38 #38A259
square
#384CA2 #A23881 #A28E38 #38A259
split-complementary
#384CA2 #A25938 #81A238
monochromatic
#192147 #283775 #384CA2 #5369C4 #8191D3

Accessibility & contrast

On white

7.71
#384CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#384CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384CA2
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384CA2#FFFFFF#000000##FFFFFF
##384CA21.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1658A5
Deuteranopia (green-blind)
#004EA0
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #384ca2;
/* rgb */ color: rgb(56, 76, 162);
/* oklch */ color: oklch(45.0% 0.141 270.0);
Tailwind
colors: {
  custom: {
    50: '#7a7dbe',
    500: '#384ca2',
    950: '#000000',
  },
}
SCSS
$custom: #384ca2;
$custom-light: #7a7dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#384ca2",
  "rgb": {
    "r": 56,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 228.679,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44951,
    "c": 0.14068,
    "h": 270
  },
  "luminance": 0.08618
}

Semantic roles & 50–950 ramp

primary
#384CA2
secondary
#BDB079
accent
#BE50D8
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #384CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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