#383FA7#383FA7

#383FA7 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.164 H 274.2°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#383FA7
RGBrgb(56, 63, 167)
HSLhsl(236, 50%, 44%)
HSVhsv(236, 66%, 65%)
CMYKcmyk(66.5%, 62.3%, 0%, 34.5%)
CIE-LABlab(32.22, 31.14, -56.91)
CIE-LCHlch(32.22, 64.87, 298.69°)
OKLaboklab(42.82% 0.0119 -0.164)
OKLCHoklch(42.82% 0.164 274.2)
XYZxyz(10.3811, 7.1849, 37.3915)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383FA7 #A7A038
analogous
#3876A7 #383FA7 #6838A7
triadic
#383FA7 #A7383F #3FA738
tetradic
#383FA7 #A73876 #A7A038 #38A768
square
#383FA7 #A73876 #A7A038 #38A768
split-complementary
#383FA7 #A76838 #76A738
monochromatic
#191C4B #292E79 #383FA7 #565DC6 #8489D6

Accessibility & contrast

On white

8.62
#383FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#383FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383FA7
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383FA7#FFFFFF#000000##FFFFFF
##383FA71.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AA
Deuteranopia (green-blind)
#0047A5
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #383fa7;
/* rgb */ color: rgb(56, 63, 167);
/* oklch */ color: oklch(42.8% 0.164 274.2);
Tailwind
colors: {
  custom: {
    50: '#7c74c2',
    500: '#383fa7',
    950: '#000000',
  },
}
SCSS
$custom: #383fa7;
$custom-light: #7c74c2;
$custom-dark: #000000;
JSON
{
  "hex": "#383fa7",
  "rgb": {
    "r": 56,
    "g": 63,
    "b": 167
  },
  "hsl": {
    "h": 236.216,
    "s": 49.776,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42824,
    "c": 0.16446,
    "h": 274.2
  },
  "luminance": 0.07186
}

Semantic roles & 50–950 ramp

primary
#383FA7
secondary
#BFBB7B
accent
#D14FD9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #383FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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