#383CAE#383CAE

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

Color values

HEX#383CAE
RGBrgb(56, 60, 174)
HSLhsl(238, 51%, 45%)
HSVhsv(238, 68%, 68%)
CMYKcmyk(67.8%, 65.5%, 0%, 31.8%)
CIE-LABlab(32.10, 35.50, -61.31)
CIE-LCHlch(32.10, 70.84, 300.07°)
OKLaboklab(42.92% 0.0139 -0.1769)
OKLCHoklch(42.92% 0.177 274.5)
XYZxyz(10.8842, 7.1275, 40.8383)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383CAE #AEAA38
analogous
#3877AE #383CAE #6F38AE
triadic
#383CAE #AE383C #3CAE38
tetradic
#383CAE #AE3877 #AEAA38 #38AE6F
square
#383CAE #AE3877 #AEAA38 #38AE6F
split-complementary
#383CAE #AE6F38 #77AE38
monochromatic
#1A1C51 #292C80 #383CAE #595DCA #888BD9

Accessibility & contrast

On white

8.66
#383CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#383CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383CAE
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383CAE#FFFFFF#000000##FFFFFF
##383CAE1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#0046AC
Tritanopia (blue-blind)
#005A6F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #383cae;
/* rgb */ color: rgb(56, 60, 174);
/* oklch */ color: oklch(42.9% 0.177 274.5);
Tailwind
colors: {
  custom: {
    50: '#7e72c7',
    500: '#383cae',
    950: '#000000',
  },
}
SCSS
$custom: #383cae;
$custom-light: #7e72c7;
$custom-dark: #000000;
JSON
{
  "hex": "#383cae",
  "rgb": {
    "r": 56,
    "g": 60,
    "b": 174
  },
  "hsl": {
    "h": 237.966,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42915,
    "c": 0.17749,
    "h": 274.5
  },
  "luminance": 0.07128
}

Semantic roles & 50–950 ramp

primary
#383CAE
secondary
#C3C07F
accent
#D64DDB
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #383CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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