#383EA3#383EA3

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

Color values

HEX#383EA3
RGBrgb(56, 62, 163)
HSLhsl(237, 49%, 43%)
HSVhsv(237, 66%, 64%)
CMYKcmyk(65.6%, 62%, 0%, 36.1%)
CIE-LABlab(31.65, 30.37, -55.45)
CIE-LCHlch(31.65, 63.22, 298.71°)
OKLaboklab(42.3% 0.0129 -0.1597)
OKLCHoklch(42.3% 0.16 274.6)
XYZxyz(9.9622, 6.9295, 35.4558)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383EA3 #A39D38
analogous
#3873A3 #383EA3 #6838A3
triadic
#383EA3 #A3383E #3EA338
tetradic
#383EA3 #A33873 #A39D38 #38A368
square
#383EA3 #A33873 #A39D38 #38A368
split-complementary
#383EA3 #A36838 #73A338
monochromatic
#191B48 #282D75 #383EA3 #545AC4 #8286D4

Accessibility & contrast

On white

8.80
#383EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#383EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383EA3
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383EA3#FFFFFF#000000##FFFFFF
##383EA31.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#0046A1
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #383ea3;
/* rgb */ color: rgb(56, 62, 163);
/* oklch */ color: oklch(42.3% 0.160 274.6);
Tailwind
colors: {
  custom: {
    50: '#7b73bf',
    500: '#383ea3',
    950: '#000000',
  },
}
SCSS
$custom: #383ea3;
$custom-light: #7b73bf;
$custom-dark: #000000;
JSON
{
  "hex": "#383ea3",
  "rgb": {
    "r": 56,
    "g": 62,
    "b": 163
  },
  "hsl": {
    "h": 236.636,
    "s": 48.858,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42296,
    "c": 0.16026,
    "h": 274.6
  },
  "luminance": 0.0693
}

Semantic roles & 50–950 ramp

primary
#383EA3
secondary
#BDBA79
accent
#D14FD8
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #383EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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