#383AA2#383AA2

#383AA2 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.5% C 0.164 H 275.7°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#383AA2
RGBrgb(56, 58, 162)
HSLhsl(239, 49%, 43%)
HSVhsv(239, 65%, 64%)
CMYKcmyk(65.4%, 64.2%, 0%, 36.5%)
CIE-LABlab(30.58, 32.59, -56.58)
CIE-LCHlch(30.58, 65.30, 299.94°)
OKLaboklab(41.49% 0.0164 -0.1631)
OKLCHoklch(41.49% 0.164 275.7)
XYZxyz(9.6634, 6.4747, 34.9159)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383AA2 #A2A038
analogous
#386FA2 #383AA2 #6B38A2
triadic
#383AA2 #A2383A #3AA238
tetradic
#383AA2 #A2386F #A2A038 #38A26B
square
#383AA2 #A2386F #A2A038 #38A26B
split-complementary
#383AA2 #A26B38 #6FA238
monochromatic
#191947 #282A75 #383AA2 #5356C4 #8183D3

Accessibility & contrast

On white

9.15
#383AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#383AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383AA2
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383AA2#FFFFFF#000000##FFFFFF
##383AA21.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#005468
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #383aa2;
/* rgb */ color: rgb(56, 58, 162);
/* oklch */ color: oklch(41.5% 0.164 275.7);
Tailwind
colors: {
  custom: {
    50: '#7b70be',
    500: '#383aa2',
    950: '#000000',
  },
}
SCSS
$custom: #383aa2;
$custom-light: #7b70be;
$custom-dark: #000000;
JSON
{
  "hex": "#383aa2",
  "rgb": {
    "r": 56,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 238.868,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41487,
    "c": 0.16392,
    "h": 275.7
  },
  "luminance": 0.06475
}

Semantic roles & 50–950 ramp

primary
#383AA2
secondary
#BDBC79
accent
#D650D8
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #383AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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