#383C71#383C71

#383C71 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.0% C 0.090 H 278.0°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#383C71
RGBrgb(56, 60, 113)
HSLhsl(236, 34%, 33%)
HSVhsv(236, 50%, 44%)
CMYKcmyk(50.4%, 46.9%, 0%, 55.7%)
CIE-LABlab(27.48, 14.17, -31.25)
CIE-LCHlch(27.48, 34.32, 294.38°)
OKLaboklab(38.02% 0.0124 -0.0886)
OKLCHoklch(38.02% 0.09 278)
XYZxyz(6.2265, 5.2644, 16.3076)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383C71 #716D38
analogous
#385871 #383C71 #503871
triadic
#383C71 #71383C #3C7138
tetradic
#383C71 #713858 #716D38 #387150
square
#383C71 #713858 #716D38 #387150
split-complementary
#383C71 #715038 #587138
monochromatic
#0F111F #242648 #383C71 #4C529A #6D72B7

Accessibility & contrast

On white

10.23
#383C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#383C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383C71
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383C71#FFFFFF#000000##FFFFFF
##383C711.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264373
Deuteranopia (green-blind)
#223F70
Tritanopia (blue-blind)
#234751
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #383c71;
/* rgb */ color: rgb(56, 60, 113);
/* oklch */ color: oklch(38.0% 0.090 278.0);
Tailwind
colors: {
  custom: {
    50: '#73719a',
    500: '#383c71',
    950: '#000000',
  },
}
SCSS
$custom: #383c71;
$custom-light: #73719a;
$custom-dark: #000000;
JSON
{
  "hex": "#383c71",
  "rgb": {
    "r": 56,
    "g": 60,
    "b": 113
  },
  "hsl": {
    "h": 235.789,
    "s": 33.728,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38022,
    "c": 0.08951,
    "h": 278
  },
  "luminance": 0.05265
}

Semantic roles & 50–950 ramp

primary
#383C71
secondary
#A09C65
accent
#C25ECA
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08070E
muted
#7B7A7E

Preview Lab

Preview with #383C71

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

Preview Lab → · Contrast checker → · Palette generator →

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