#383AB1#383AB1

#383AB1 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.9% C 0.184 H 274.7°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#383AB1
RGBrgb(56, 58, 177)
HSLhsl(239, 52%, 46%)
HSVhsv(239, 68%, 69%)
CMYKcmyk(68.4%, 67.2%, 0%, 30.6%)
CIE-LABlab(31.90, 37.77, -63.42)
CIE-LCHlch(31.90, 73.82, 300.78°)
OKLaboklab(42.85% 0.015 -0.1831)
OKLCHoklch(42.85% 0.184 274.7)
XYZxyz(11.0771, 7.0402, 42.3616)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383AB1 #B1AF38
analogous
#3876B1 #383AB1 #7238B1
triadic
#383AB1 #B1383A #3AB138
tetradic
#383AB1 #B13876 #B1AF38 #38B172
square
#383AB1 #B13876 #B1AF38 #38B172
split-complementary
#383AB1 #B17238 #76B138
monochromatic
#1B1C54 #292B83 #383AB1 #5B5DCB #8A8BDA

Accessibility & contrast

On white

8.72
#383AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#383AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383AB1
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383AB1#FFFFFF#000000##FFFFFF
##383AB11.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0046AF
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #383ab1;
/* rgb */ color: rgb(56, 58, 177);
/* oklch */ color: oklch(42.9% 0.184 274.7);
Tailwind
colors: {
  custom: {
    50: '#7f71c9',
    500: '#383ab1',
    950: '#000000',
  },
}
SCSS
$custom: #383ab1;
$custom-light: #7f71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#383ab1",
  "rgb": {
    "r": 56,
    "g": 58,
    "b": 177
  },
  "hsl": {
    "h": 239.008,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42854,
    "c": 0.18376,
    "h": 274.7
  },
  "luminance": 0.07041
}

Semantic roles & 50–950 ramp

primary
#383AB1
secondary
#C4C381
accent
#D94CDB
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #383AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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