#383EA4#383EA4

#383EA4 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.4% C 0.162 H 274.6°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#383EA4
RGBrgb(56, 62, 164)
HSLhsl(237, 49%, 43%)
HSVhsv(237, 66%, 64%)
CMYKcmyk(65.9%, 62.2%, 0%, 35.7%)
CIE-LABlab(31.73, 30.73, -55.92)
CIE-LCHlch(31.73, 63.80, 298.79°)
OKLaboklab(42.38% 0.0129 -0.1611)
OKLCHoklch(42.38% 0.162 274.6)
XYZxyz(10.0521, 6.9655, 35.9295)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383EA4 #A49E38
analogous
#3874A4 #383EA4 #6838A4
triadic
#383EA4 #A4383E #3EA438
tetradic
#383EA4 #A43874 #A49E38 #38A468
square
#383EA4 #A43874 #A49E38 #38A468
split-complementary
#383EA4 #A46838 #74A438
monochromatic
#191C49 #282D76 #383EA4 #545BC5 #8287D4

Accessibility & contrast

On white

8.77
#383EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#383EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383EA4
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383EA4#FFFFFF#000000##FFFFFF
##383EA41.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#0046A2
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #383ea4;
/* rgb */ color: rgb(56, 62, 164);
/* oklch */ color: oklch(42.4% 0.162 274.6);
Tailwind
colors: {
  custom: {
    50: '#7c73c0',
    500: '#383ea4',
    950: '#000000',
  },
}
SCSS
$custom: #383ea4;
$custom-light: #7c73c0;
$custom-dark: #000000;
JSON
{
  "hex": "#383ea4",
  "rgb": {
    "r": 56,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 236.667,
    "s": 49.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42382,
    "c": 0.16163,
    "h": 274.6
  },
  "luminance": 0.06966
}

Semantic roles & 50–950 ramp

primary
#383EA4
secondary
#BEBA7A
accent
#D14FD9
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #383EA4

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

Preview Lab → · Contrast checker → · Palette generator →

#383EA4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva