#383EAB#383EAB

#383EAB is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.0% C 0.171 H 274.2°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#383EAB
RGBrgb(56, 62, 171)
HSLhsl(237, 51%, 45%)
HSVhsv(237, 67%, 67%)
CMYKcmyk(67.3%, 63.7%, 0%, 32.9%)
CIE-LABlab(32.31, 33.19, -59.16)
CIE-LCHlch(32.31, 67.83, 299.29°)
OKLaboklab(43% 0.0125 -0.1706)
OKLCHoklch(43% 0.171 274.2)
XYZxyz(10.7018, 7.2253, 39.3508)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383EAB #ABA538
analogous
#3877AB #383EAB #6C38AB
triadic
#383EAB #AB383E #3EAB38
tetradic
#383EAB #AB3877 #ABA538 #38AB6C
square
#383EAB #AB3877 #ABA538 #38AB6C
split-complementary
#383EAB #AB6C38 #77AB38
monochromatic
#1A1D4F #292D7D #383EAB #585EC8 #868AD7

Accessibility & contrast

On white

8.59
#383EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#383EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383EAB
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383EAB#FFFFFF#000000##FFFFFF
##383EAB1.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#0047A9
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #383eab;
/* rgb */ color: rgb(56, 62, 171);
/* oklch */ color: oklch(43.0% 0.171 274.2);
Tailwind
colors: {
  custom: {
    50: '#7d73c5',
    500: '#383eab',
    950: '#000000',
  },
}
SCSS
$custom: #383eab;
$custom-light: #7d73c5;
$custom-dark: #000000;
JSON
{
  "hex": "#383eab",
  "rgb": {
    "r": 56,
    "g": 62,
    "b": 171
  },
  "hsl": {
    "h": 236.87,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42995,
    "c": 0.1711,
    "h": 274.2
  },
  "luminance": 0.07226
}

Semantic roles & 50–950 ramp

primary
#383EAB
secondary
#C1BE7D
accent
#D34EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #383EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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