#383C81#383C81

#383C81 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 39.2% C 0.114 H 277.2°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#383C81
RGBrgb(56, 60, 129)
HSLhsl(237, 39%, 36%)
HSVhsv(237, 57%, 51%)
CMYKcmyk(56.6%, 53.5%, 0%, 49.4%)
CIE-LABlab(28.53, 19.70, -39.65)
CIE-LCHlch(28.53, 44.27, 296.42°)
OKLaboklab(39.16% 0.0144 -0.1133)
OKLCHoklch(39.16% 0.114 277.2)
XYZxyz(7.2079, 5.6570, 21.4767)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383C81 #817D38
analogous
#386181 #383C81 #593881
triadic
#383C81 #81383C #3C8138
tetradic
#383C81 #813861 #817D38 #388159
square
#383C81 #813861 #817D38 #388159
split-complementary
#383C81 #815938 #618138
monochromatic
#13142C #252856 #383C81 #4B50AC #7276C2

Accessibility & contrast

On white

9.85
#383C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#383C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383C81
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383C81#FFFFFF#000000##FFFFFF
##383C811.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174683
Deuteranopia (green-blind)
#0B4080
Tritanopia (blue-blind)
#144C58
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #383c81;
/* rgb */ color: rgb(56, 60, 129);
/* oklch */ color: oklch(39.2% 0.114 277.2);
Tailwind
colors: {
  custom: {
    50: '#7571a6',
    500: '#383c81',
    950: '#000000',
  },
}
SCSS
$custom: #383c81;
$custom-light: #7571a6;
$custom-dark: #000000;
JSON
{
  "hex": "#383c81",
  "rgb": {
    "r": 56,
    "g": 60,
    "b": 129
  },
  "hsl": {
    "h": 236.712,
    "s": 39.459,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39159,
    "c": 0.1142,
    "h": 277.2
  },
  "luminance": 0.05657
}

Semantic roles & 50–950 ramp

primary
#383C81
secondary
#ABA76A
accent
#C958CF
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #383C81

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

Preview Lab → · Contrast checker → · Palette generator →

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