#383EA1#383EA1

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

Color values

HEX#383EA1
RGBrgb(56, 62, 161)
HSLhsl(237, 48%, 43%)
HSVhsv(237, 65%, 63%)
CMYKcmyk(65.2%, 61.5%, 0%, 36.9%)
CIE-LABlab(31.48, 29.67, -54.51)
CIE-LCHlch(31.48, 62.06, 298.56°)
OKLaboklab(42.12% 0.013 -0.157)
OKLCHoklch(42.12% 0.158 274.7)
XYZxyz(9.7844, 6.8584, 34.5195)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383EA1 #A19B38
analogous
#3873A1 #383EA1 #6638A1
triadic
#383EA1 #A1383E #3EA138
tetradic
#383EA1 #A13873 #A19B38 #38A166
square
#383EA1 #A13873 #A19B38 #38A166
split-complementary
#383EA1 #A16638 #73A138
monochromatic
#181B46 #282D74 #383EA1 #5359C3 #8085D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##383EA1#FFFFFF#000000##FFFFFF
##383EA11.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)
#004FA4
Deuteranopia (green-blind)
#00459F
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #383ea1;
/* rgb */ color: rgb(56, 62, 161);
/* oklch */ color: oklch(42.1% 0.158 274.7);
Tailwind
colors: {
  custom: {
    50: '#7b73be',
    500: '#383ea1',
    950: '#000000',
  },
}
SCSS
$custom: #383ea1;
$custom-light: #7b73be;
$custom-dark: #000000;
JSON
{
  "hex": "#383ea1",
  "rgb": {
    "r": 56,
    "g": 62,
    "b": 161
  },
  "hsl": {
    "h": 236.571,
    "s": 48.387,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42124,
    "c": 0.15752,
    "h": 274.7
  },
  "luminance": 0.06859
}

Semantic roles & 50–950 ramp

primary
#383EA1
secondary
#BCB978
accent
#D050D8
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #383EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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