#383AB6#383AB6

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

Color values

HEX#383AB6
RGBrgb(56, 58, 182)
HSLhsl(239, 53%, 47%)
HSVhsv(239, 69%, 71%)
CMYKcmyk(69.2%, 68.1%, 0%, 28.6%)
CIE-LABlab(32.35, 39.48, -65.64)
CIE-LCHlch(32.35, 76.60, 301.02°)
OKLaboklab(43.32% 0.0145 -0.1897)
OKLCHoklch(43.32% 0.19 274.4)
XYZxyz(11.5846, 7.2432, 45.0345)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383AB6 #B6B438
analogous
#3879B6 #383AB6 #7538B6
triadic
#383AB6 #B6383A #3AB638
tetradic
#383AB6 #B63879 #B6B438 #38B675
square
#383AB6 #B63879 #B6B438 #38B675
split-complementary
#383AB6 #B67538 #79B638
monochromatic
#1B1C58 #2A2B87 #383AB6 #5E60CD #8D8EDC

Accessibility & contrast

On white

8.58
#383AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #383AB6
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383AB6#FFFFFF#000000##FFFFFF
##383AB61.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #383ab6;
/* rgb */ color: rgb(56, 58, 182);
/* oklch */ color: oklch(43.3% 0.190 274.4);
Tailwind
colors: {
  custom: {
    50: '#8071cd',
    500: '#383ab6',
    950: '#000000',
  },
}
SCSS
$custom: #383ab6;
$custom-light: #8071cd;
$custom-dark: #000000;
JSON
{
  "hex": "#383ab6",
  "rgb": {
    "r": 56,
    "g": 58,
    "b": 182
  },
  "hsl": {
    "h": 239.048,
    "s": 52.941,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43323,
    "c": 0.1902,
    "h": 274.4
  },
  "luminance": 0.07244
}

Semantic roles & 50–950 ramp

primary
#383AB6
secondary
#C6C584
accent
#DA4BDC
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #383AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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