#383CA5#383CA5

#383CA5 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.1% C 0.165 H 275.0°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#383CA5
RGBrgb(56, 60, 165)
HSLhsl(238, 49%, 43%)
HSVhsv(238, 66%, 65%)
CMYKcmyk(66.1%, 63.6%, 0%, 35.3%)
CIE-LABlab(31.32, 32.36, -57.18)
CIE-LCHlch(31.32, 65.71, 299.51°)
OKLaboklab(42.11% 0.0145 -0.1648)
OKLCHoklch(42.11% 0.165 275)
XYZxyz(10.0360, 6.7882, 36.3714)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383CA5 #A5A138
analogous
#3872A5 #383CA5 #6A38A5
triadic
#383CA5 #A5383C #3CA538
tetradic
#383CA5 #A53872 #A5A138 #38A56A
square
#383CA5 #A53872 #A5A138 #38A56A
split-complementary
#383CA5 #A56A38 #72A538
monochromatic
#191B4A #282B77 #383CA5 #5559C5 #8386D5

Accessibility & contrast

On white

8.91
#383CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#383CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383CA5
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383CA5#FFFFFF#000000##FFFFFF
##383CA51.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0045A3
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #383ca5;
/* rgb */ color: rgb(56, 60, 165);
/* oklch */ color: oklch(42.1% 0.165 275.0);
Tailwind
colors: {
  custom: {
    50: '#7c72c1',
    500: '#383ca5',
    950: '#000000',
  },
}
SCSS
$custom: #383ca5;
$custom-light: #7c72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#383ca5",
  "rgb": {
    "r": 56,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 237.798,
    "s": 49.321,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42108,
    "c": 0.16549,
    "h": 275
  },
  "luminance": 0.06789
}

Semantic roles & 50–950 ramp

primary
#383CA5
secondary
#BEBC7A
accent
#D44FD9
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #383CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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