#383BA6#383BA6

#383BA6 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.0% C 0.168 H 275.2°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#383BA6
RGBrgb(56, 59, 166)
HSLhsl(238, 50%, 44%)
HSVhsv(238, 66%, 65%)
CMYKcmyk(66.3%, 64.5%, 0%, 34.9%)
CIE-LABlab(31.16, 33.35, -58.04)
CIE-LCHlch(31.16, 66.94, 299.88°)
OKLaboklab(42.02% 0.0153 -0.1674)
OKLCHoklch(42.02% 0.168 275.2)
XYZxyz(10.0755, 6.7210, 36.8353)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383BA6 #A6A338
analogous
#3872A6 #383BA6 #6C38A6
triadic
#383BA6 #A6383B #3BA638
tetradic
#383BA6 #A63872 #A6A338 #38A66C
square
#383BA6 #A63872 #A6A338 #38A66C
split-complementary
#383BA6 #A66C38 #72A638
monochromatic
#191A4A #292B78 #383BA6 #5558C6 #8385D5

Accessibility & contrast

On white

8.96
#383BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#383BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383BA6
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383BA6#FFFFFF#000000##FFFFFF
##383BA61.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #383ba6;
/* rgb */ color: rgb(56, 59, 166);
/* oklch */ color: oklch(42.0% 0.168 275.2);
Tailwind
colors: {
  custom: {
    50: '#7c71c1',
    500: '#383ba6',
    950: '#000000',
  },
}
SCSS
$custom: #383ba6;
$custom-light: #7c71c1;
$custom-dark: #000000;
JSON
{
  "hex": "#383ba6",
  "rgb": {
    "r": 56,
    "g": 59,
    "b": 166
  },
  "hsl": {
    "h": 238.364,
    "s": 49.55,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4202,
    "c": 0.16807,
    "h": 275.2
  },
  "luminance": 0.06722
}

Semantic roles & 50–950 ramp

primary
#383BA6
secondary
#BFBD7B
accent
#D54FD9
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #383BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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