#383EA7#383EA7

#383EA7 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.6% C 0.166 H 274.4°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#383EA7
RGBrgb(56, 62, 167)
HSLhsl(237, 50%, 44%)
HSVhsv(237, 66%, 65%)
CMYKcmyk(66.5%, 62.9%, 0%, 34.5%)
CIE-LABlab(31.98, 31.78, -57.31)
CIE-LCHlch(31.98, 65.54, 299.01°)
OKLaboklab(42.64% 0.0127 -0.1652)
OKLCHoklch(42.64% 0.166 274.4)
XYZxyz(10.3263, 7.0751, 37.3732)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383EA7 #A7A138
analogous
#3875A7 #383EA7 #6938A7
triadic
#383EA7 #A7383E #3EA738
tetradic
#383EA7 #A73875 #A7A138 #38A769
square
#383EA7 #A73875 #A7A138 #38A769
split-complementary
#383EA7 #A76938 #75A738
monochromatic
#191C4B #292D79 #383EA7 #565CC6 #8488D6

Accessibility & contrast

On white

8.69
#383EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#383EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383EA7
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383EA7#FFFFFF#000000##FFFFFF
##383EA71.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AA
Deuteranopia (green-blind)
#0046A5
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #383ea7;
/* rgb */ color: rgb(56, 62, 167);
/* oklch */ color: oklch(42.6% 0.166 274.4);
Tailwind
colors: {
  custom: {
    50: '#7c73c2',
    500: '#383ea7',
    950: '#000000',
  },
}
SCSS
$custom: #383ea7;
$custom-light: #7c73c2;
$custom-dark: #000000;
JSON
{
  "hex": "#383ea7",
  "rgb": {
    "r": 56,
    "g": 62,
    "b": 167
  },
  "hsl": {
    "h": 236.757,
    "s": 49.776,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42643,
    "c": 0.16571,
    "h": 274.4
  },
  "luminance": 0.07076
}

Semantic roles & 50–950 ramp

primary
#383EA7
secondary
#BFBC7B
accent
#D24FD9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #383EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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