#383B78#383B78

#383B78 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.3% C 0.102 H 278.3°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#383B78
RGBrgb(56, 59, 120)
HSLhsl(237, 36%, 35%)
HSVhsv(237, 53%, 47%)
CMYKcmyk(53.3%, 50.8%, 0%, 52.9%)
CIE-LABlab(27.64, 17.24, -35.43)
CIE-LCHlch(27.64, 39.40, 295.96°)
OKLaboklab(38.29% 0.0147 -0.1009)
OKLCHoklch(38.29% 0.102 278.3)
XYZxyz(6.5840, 5.3244, 18.4464)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383B78 #787538
analogous
#385B78 #383B78 #553878
triadic
#383B78 #78383B #3B7838
tetradic
#383B78 #78385B #787538 #387855
square
#383B78 #78385B #787538 #387855
split-complementary
#383B78 #785538 #5B7838
monochromatic
#111225 #25264E #383B78 #4B50A2 #6F72BC

Accessibility & contrast

On white

10.17
#383B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#383B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383B78
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383B78#FFFFFF#000000##FFFFFF
##383B781.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F447A
Deuteranopia (green-blind)
#183F77
Tritanopia (blue-blind)
#1E4853
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #383b78;
/* rgb */ color: rgb(56, 59, 120);
/* oklch */ color: oklch(38.3% 0.102 278.3);
Tailwind
colors: {
  custom: {
    50: '#74709f',
    500: '#383b78',
    950: '#000000',
  },
}
SCSS
$custom: #383b78;
$custom-light: #74709f;
$custom-dark: #000000;
JSON
{
  "hex": "#383b78",
  "rgb": {
    "r": 56,
    "g": 59,
    "b": 120
  },
  "hsl": {
    "h": 237.188,
    "s": 36.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38291,
    "c": 0.10196,
    "h": 278.3
  },
  "luminance": 0.05325
}

Semantic roles & 50–950 ramp

primary
#383B78
secondary
#A5A267
accent
#C75BCC
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08070E
muted
#7B7A7E

Preview Lab

Preview with #383B78

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

Preview Lab → · Contrast checker → · Palette generator →

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