#383CA3#383CA3

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

Color values

HEX#383CA3
RGBrgb(56, 60, 163)
HSLhsl(238, 49%, 43%)
HSVhsv(238, 66%, 64%)
CMYKcmyk(65.6%, 63.2%, 0%, 36.1%)
CIE-LABlab(31.15, 31.66, -56.25)
CIE-LCHlch(31.15, 64.55, 299.37°)
OKLaboklab(41.93% 0.0146 -0.1621)
OKLCHoklch(41.93% 0.163 275.2)
XYZxyz(9.8554, 6.7160, 35.4202)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383CA3 #A39F38
analogous
#3871A3 #383CA3 #6938A3
triadic
#383CA3 #A3383C #3CA338
tetradic
#383CA3 #A33871 #A39F38 #38A369
square
#383CA3 #A33871 #A39F38 #38A369
split-complementary
#383CA3 #A36938 #71A338
monochromatic
#191A48 #282B75 #383CA3 #5458C4 #8285D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##383CA3#FFFFFF#000000##FFFFFF
##383CA31.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)
#004EA6
Deuteranopia (green-blind)
#0045A1
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #383ca3;
/* rgb */ color: rgb(56, 60, 163);
/* oklch */ color: oklch(41.9% 0.163 275.2);
Tailwind
colors: {
  custom: {
    50: '#7c72bf',
    500: '#383ca3',
    950: '#000000',
  },
}
SCSS
$custom: #383ca3;
$custom-light: #7c72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#383ca3",
  "rgb": {
    "r": 56,
    "g": 60,
    "b": 163
  },
  "hsl": {
    "h": 237.757,
    "s": 48.858,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41932,
    "c": 0.16278,
    "h": 275.2
  },
  "luminance": 0.06717
}

Semantic roles & 50–950 ramp

primary
#383CA3
secondary
#BDBB79
accent
#D34FD8
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #383CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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