#383AB5#383AB5

#383AB5 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.2% C 0.189 H 274.4°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#383AB5
RGBrgb(56, 58, 181)
HSLhsl(239, 53%, 46%)
HSVhsv(239, 69%, 71%)
CMYKcmyk(69.1%, 68%, 0%, 29%)
CIE-LABlab(32.26, 39.14, -65.20)
CIE-LCHlch(32.26, 76.05, 300.98°)
OKLaboklab(43.23% 0.0146 -0.1883)
OKLCHoklch(43.23% 0.189 274.4)
XYZxyz(11.4817, 7.2020, 44.4921)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383AB5 #B5B338
analogous
#3879B5 #383AB5 #7538B5
triadic
#383AB5 #B5383A #3AB538
tetradic
#383AB5 #B53879 #B5B338 #38B575
square
#383AB5 #B53879 #B5B338 #38B575
split-complementary
#383AB5 #B57538 #79B538
monochromatic
#1B1C58 #2A2B86 #383AB5 #5D5FCD #8C8DDB

Accessibility & contrast

On white

8.60
#383AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#383AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383AB5
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383AB5#FFFFFF#000000##FFFFFF
##383AB51.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0046B3
Tritanopia (blue-blind)
#005B73
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #383ab5;
/* rgb */ color: rgb(56, 58, 181);
/* oklch */ color: oklch(43.2% 0.189 274.4);
Tailwind
colors: {
  custom: {
    50: '#8071cc',
    500: '#383ab5',
    950: '#000000',
  },
}
SCSS
$custom: #383ab5;
$custom-light: #8071cc;
$custom-dark: #000000;
JSON
{
  "hex": "#383ab5",
  "rgb": {
    "r": 56,
    "g": 58,
    "b": 181
  },
  "hsl": {
    "h": 239.04,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43229,
    "c": 0.18891,
    "h": 274.4
  },
  "luminance": 0.07203
}

Semantic roles & 50–950 ramp

primary
#383AB5
secondary
#C6C583
accent
#DA4CDC
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #383AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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