#383EA6#383EA6

#383EA6 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.6% C 0.164 H 274.5°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#383EA6
RGBrgb(56, 62, 166)
HSLhsl(237, 50%, 44%)
HSVhsv(237, 66%, 65%)
CMYKcmyk(66.3%, 62.7%, 0%, 34.9%)
CIE-LABlab(31.89, 31.43, -56.85)
CIE-LCHlch(31.89, 64.96, 298.94°)
OKLaboklab(42.56% 0.0128 -0.1638)
OKLCHoklch(42.56% 0.164 274.5)
XYZxyz(10.2342, 7.0383, 36.8882)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383EA6 #A6A038
analogous
#3875A6 #383EA6 #6938A6
triadic
#383EA6 #A6383E #3EA638
tetradic
#383EA6 #A63875 #A6A038 #38A669
square
#383EA6 #A63875 #A6A038 #38A669
split-complementary
#383EA6 #A66938 #75A638
monochromatic
#191C4A #292D78 #383EA6 #555CC6 #8388D5

Accessibility & contrast

On white

8.72
#383EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#383EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383EA6
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383EA6#FFFFFF#000000##FFFFFF
##383EA61.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A9
Deuteranopia (green-blind)
#0046A4
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #383ea6;
/* rgb */ color: rgb(56, 62, 166);
/* oklch */ color: oklch(42.6% 0.164 274.5);
Tailwind
colors: {
  custom: {
    50: '#7c73c1',
    500: '#383ea6',
    950: '#000000',
  },
}
SCSS
$custom: #383ea6;
$custom-light: #7c73c1;
$custom-dark: #000000;
JSON
{
  "hex": "#383ea6",
  "rgb": {
    "r": 56,
    "g": 62,
    "b": 166
  },
  "hsl": {
    "h": 236.727,
    "s": 49.55,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42556,
    "c": 0.16435,
    "h": 274.5
  },
  "luminance": 0.07039
}

Semantic roles & 50–950 ramp

primary
#383EA6
secondary
#BFBB7B
accent
#D24FD9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #383EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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