#383CA7#383CA7

#383CA7 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.3% C 0.168 H 274.9°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#383CA7
RGBrgb(56, 60, 167)
HSLhsl(238, 50%, 44%)
HSVhsv(238, 66%, 65%)
CMYKcmyk(66.5%, 64.1%, 0%, 34.5%)
CIE-LABlab(31.49, 33.06, -58.11)
CIE-LCHlch(31.49, 66.86, 299.64°)
OKLaboklab(42.29% 0.0144 -0.1676)
OKLCHoklch(42.29% 0.168 274.9)
XYZxyz(10.2195, 6.8616, 37.3376)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383CA7 #A7A338
analogous
#3873A7 #383CA7 #6B38A7
triadic
#383CA7 #A7383C #3CA738
tetradic
#383CA7 #A73873 #A7A338 #38A76B
square
#383CA7 #A73873 #A7A338 #38A76B
split-complementary
#383CA7 #A76B38 #73A738
monochromatic
#191B4B #292C79 #383CA7 #565AC6 #8487D6

Accessibility & contrast

On white

8.85
#383CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#383CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383CA7
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383CA7#FFFFFF#000000##FFFFFF
##383CA71.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#0045A5
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #383ca7;
/* rgb */ color: rgb(56, 60, 167);
/* oklch */ color: oklch(42.3% 0.168 274.9);
Tailwind
colors: {
  custom: {
    50: '#7c72c2',
    500: '#383ca7',
    950: '#000000',
  },
}
SCSS
$custom: #383ca7;
$custom-light: #7c72c2;
$custom-dark: #000000;
JSON
{
  "hex": "#383ca7",
  "rgb": {
    "r": 56,
    "g": 60,
    "b": 167
  },
  "hsl": {
    "h": 237.838,
    "s": 49.776,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42285,
    "c": 0.16819,
    "h": 274.9
  },
  "luminance": 0.06862
}

Semantic roles & 50–950 ramp

primary
#383CA7
secondary
#BFBD7B
accent
#D44FD9
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #383CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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