#383EB5#383EB5

#383EB5 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.9% C 0.184 H 273.7°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#383EB5
RGBrgb(56, 62, 181)
HSLhsl(237, 53%, 46%)
HSVhsv(237, 69%, 71%)
CMYKcmyk(69.1%, 65.7%, 0%, 29%)
CIE-LABlab(33.18, 36.68, -63.70)
CIE-LCHlch(33.18, 73.50, 299.93°)
OKLaboklab(43.9% 0.0118 -0.1839)
OKLCHoklch(43.9% 0.184 273.7)
XYZxyz(11.6912, 7.6211, 44.5620)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383EB5 #B5AF38
analogous
#387DB5 #383EB5 #7138B5
triadic
#383EB5 #B5383E #3EB538
tetradic
#383EB5 #B5387D #B5AF38 #38B571
square
#383EB5 #B5387D #B5AF38 #38B571
split-complementary
#383EB5 #B57138 #7DB538
monochromatic
#1B1E58 #2A2E86 #383EB5 #5D63CD #8C90DB

Accessibility & contrast

On white

8.32
#383EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#383EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383EB5
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383EB5#FFFFFF#000000##FFFFFF
##383EB51.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0048B3
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #383eb5;
/* rgb */ color: rgb(56, 62, 181);
/* oklch */ color: oklch(43.9% 0.184 273.7);
Tailwind
colors: {
  custom: {
    50: '#7f73cc',
    500: '#383eb5',
    950: '#000000',
  },
}
SCSS
$custom: #383eb5;
$custom-light: #7f73cc;
$custom-dark: #000000;
JSON
{
  "hex": "#383eb5",
  "rgb": {
    "r": 56,
    "g": 62,
    "b": 181
  },
  "hsl": {
    "h": 237.12,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43896,
    "c": 0.18431,
    "h": 273.7
  },
  "luminance": 0.07622
}

Semantic roles & 50–950 ramp

primary
#383EB5
secondary
#C6C383
accent
#D54CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #383EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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