#383CA4#383CA4

#383CA4 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.0% C 0.164 H 275.1°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#383CA4
RGBrgb(56, 60, 164)
HSLhsl(238, 49%, 43%)
HSVhsv(238, 66%, 64%)
CMYKcmyk(65.9%, 63.4%, 0%, 35.7%)
CIE-LABlab(31.24, 32.01, -56.72)
CIE-LCHlch(31.24, 65.13, 299.44°)
OKLaboklab(42.02% 0.0146 -0.1635)
OKLCHoklch(42.02% 0.164 275.1)
XYZxyz(9.9454, 6.7520, 35.8939)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383CA4 #A4A038
analogous
#3872A4 #383CA4 #6A38A4
triadic
#383CA4 #A4383C #3CA438
tetradic
#383CA4 #A43872 #A4A038 #38A46A
square
#383CA4 #A43872 #A4A038 #38A46A
split-complementary
#383CA4 #A46A38 #72A438
monochromatic
#191B49 #282B76 #383CA4 #5459C5 #8285D4

Accessibility & contrast

On white

8.93
#383CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#383CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383CA4
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383CA4#FFFFFF#000000##FFFFFF
##383CA41.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA7
Deuteranopia (green-blind)
#0045A2
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #383ca4;
/* rgb */ color: rgb(56, 60, 164);
/* oklch */ color: oklch(42.0% 0.164 275.1);
Tailwind
colors: {
  custom: {
    50: '#7c72c0',
    500: '#383ca4',
    950: '#000000',
  },
}
SCSS
$custom: #383ca4;
$custom-light: #7c72c0;
$custom-dark: #000000;
JSON
{
  "hex": "#383ca4",
  "rgb": {
    "r": 56,
    "g": 60,
    "b": 164
  },
  "hsl": {
    "h": 237.778,
    "s": 49.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4202,
    "c": 0.16414,
    "h": 275.1
  },
  "luminance": 0.06753
}

Semantic roles & 50–950 ramp

primary
#383CA4
secondary
#BEBB7A
accent
#D44FD9
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #383CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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