#383AB2#383AB2

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

Color values

HEX#383AB2
RGBrgb(56, 58, 178)
HSLhsl(239, 52%, 46%)
HSVhsv(239, 69%, 70%)
CMYKcmyk(68.5%, 67.4%, 0%, 30.2%)
CIE-LABlab(31.99, 38.12, -63.87)
CIE-LCHlch(31.99, 74.38, 300.83°)
OKLaboklab(42.95% 0.0149 -0.1844)
OKLCHoklch(42.95% 0.185 274.6)
XYZxyz(11.1772, 7.0802, 42.8884)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383AB2 #B2B038
analogous
#3877B2 #383AB2 #7338B2
triadic
#383AB2 #B2383A #3AB238
tetradic
#383AB2 #B23877 #B2B038 #38B273
square
#383AB2 #B23877 #B2B038 #38B273
split-complementary
#383AB2 #B27338 #77B238
monochromatic
#1B1C55 #292B83 #383AB2 #5C5DCC #8A8BDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##383AB2#FFFFFF#000000##FFFFFF
##383AB21.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)
#0051B6
Deuteranopia (green-blind)
#0046B0
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #383ab2;
/* rgb */ color: rgb(56, 58, 178);
/* oklch */ color: oklch(42.9% 0.185 274.6);
Tailwind
colors: {
  custom: {
    50: '#7f71ca',
    500: '#383ab2',
    950: '#000000',
  },
}
SCSS
$custom: #383ab2;
$custom-light: #7f71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#383ab2",
  "rgb": {
    "r": 56,
    "g": 58,
    "b": 178
  },
  "hsl": {
    "h": 239.016,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42947,
    "c": 0.18505,
    "h": 274.6
  },
  "luminance": 0.07081
}

Semantic roles & 50–950 ramp

primary
#383AB2
secondary
#C5C381
accent
#D94CDC
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #383AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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