#383EA2#383EA2

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

Color values

HEX#383EA2
RGBrgb(56, 62, 162)
HSLhsl(237, 49%, 43%)
HSVhsv(237, 65%, 64%)
CMYKcmyk(65.4%, 61.7%, 0%, 36.5%)
CIE-LABlab(31.56, 30.02, -54.98)
CIE-LCHlch(31.56, 62.64, 298.64°)
OKLaboklab(42.21% 0.013 -0.1584)
OKLCHoklch(42.21% 0.159 274.7)
XYZxyz(9.8729, 6.8938, 34.9858)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383EA2 #A29C38
analogous
#3873A2 #383EA2 #6738A2
triadic
#383EA2 #A2383E #3EA238
tetradic
#383EA2 #A23873 #A29C38 #38A267
square
#383EA2 #A23873 #A29C38 #38A267
split-complementary
#383EA2 #A26738 #73A238
monochromatic
#191B47 #282D75 #383EA2 #535AC4 #8186D3

Accessibility & contrast

On white

8.83
#383EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#383EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383EA2
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383EA2#FFFFFF#000000##FFFFFF
##383EA21.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #383ea2;
/* rgb */ color: rgb(56, 62, 162);
/* oklch */ color: oklch(42.2% 0.159 274.7);
Tailwind
colors: {
  custom: {
    50: '#7b73be',
    500: '#383ea2',
    950: '#000000',
  },
}
SCSS
$custom: #383ea2;
$custom-light: #7b73be;
$custom-dark: #000000;
JSON
{
  "hex": "#383ea2",
  "rgb": {
    "r": 56,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 236.604,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4221,
    "c": 0.15889,
    "h": 274.7
  },
  "luminance": 0.06895
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #383EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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