#383CAC#383CAC

#383CAC is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.7% C 0.175 H 274.6°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#383CAC
RGBrgb(56, 60, 172)
HSLhsl(238, 51%, 45%)
HSVhsv(238, 67%, 67%)
CMYKcmyk(67.4%, 65.1%, 0%, 32.5%)
CIE-LABlab(31.92, 34.80, -60.40)
CIE-LCHlch(31.92, 69.71, 299.95°)
OKLaboklab(42.73% 0.014 -0.1743)
OKLCHoklch(42.73% 0.175 274.6)
XYZxyz(10.6907, 7.0501, 39.8191)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383CAC #ACA838
analogous
#3876AC #383CAC #6E38AC
triadic
#383CAC #AC383C #3CAC38
tetradic
#383CAC #AC3876 #ACA838 #38AC6E
square
#383CAC #AC3876 #ACA838 #38AC6E
split-complementary
#383CAC #AC6E38 #76AC38
monochromatic
#1A1C50 #292C7E #383CAC #585CC9 #8789D8

Accessibility & contrast

On white

8.71
#383CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #383CAC
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383CAC#FFFFFF#000000##FFFFFF
##383CAC1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0046AA
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #383cac;
/* rgb */ color: rgb(56, 60, 172);
/* oklch */ color: oklch(42.7% 0.175 274.6);
Tailwind
colors: {
  custom: {
    50: '#7d72c6',
    500: '#383cac',
    950: '#000000',
  },
}
SCSS
$custom: #383cac;
$custom-light: #7d72c6;
$custom-dark: #000000;
JSON
{
  "hex": "#383cac",
  "rgb": {
    "r": 56,
    "g": 60,
    "b": 172
  },
  "hsl": {
    "h": 237.931,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42733,
    "c": 0.17485,
    "h": 274.6
  },
  "luminance": 0.07051
}

Semantic roles & 50–950 ramp

primary
#383CAC
secondary
#C2BF7E
accent
#D64DDA
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #383CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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