#383AA6#383AA6

#383AA6 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.169 H 275.4°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#383AA6
RGBrgb(56, 58, 166)
HSLhsl(239, 50%, 44%)
HSVhsv(239, 66%, 65%)
CMYKcmyk(66.3%, 65.1%, 0%, 34.9%)
CIE-LABlab(30.92, 33.98, -58.43)
CIE-LCHlch(30.92, 67.59, 300.18°)
OKLaboklab(41.85% 0.0161 -0.1685)
OKLCHoklch(41.85% 0.169 275.4)
XYZxyz(10.0246, 6.6192, 36.8183)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383AA6 #A6A438
analogous
#3871A6 #383AA6 #6D38A6
triadic
#383AA6 #A6383A #3AA638
tetradic
#383AA6 #A63871 #A6A438 #38A66D
square
#383AA6 #A63871 #A6A438 #38A66D
split-complementary
#383AA6 #A66D38 #71A638
monochromatic
#191A4A #292A78 #383AA6 #5557C6 #8385D5

Accessibility & contrast

On white

9.04
#383AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#383AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383AA6
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383AA6#FFFFFF#000000##FFFFFF
##383AA61.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA9
Deuteranopia (green-blind)
#0044A4
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #383aa6;
/* rgb */ color: rgb(56, 58, 166);
/* oklch */ color: oklch(41.8% 0.169 275.4);
Tailwind
colors: {
  custom: {
    50: '#7c70c1',
    500: '#383aa6',
    950: '#000000',
  },
}
SCSS
$custom: #383aa6;
$custom-light: #7c70c1;
$custom-dark: #000000;
JSON
{
  "hex": "#383aa6",
  "rgb": {
    "r": 56,
    "g": 58,
    "b": 166
  },
  "hsl": {
    "h": 238.909,
    "s": 49.55,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41845,
    "c": 0.16929,
    "h": 275.4
  },
  "luminance": 0.0662
}

Semantic roles & 50–950 ramp

primary
#383AA6
secondary
#BFBE7B
accent
#D74FD9
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #383AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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