#383AA5#383AA5

#383AA5 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.168 H 275.5°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#383AA5
RGBrgb(56, 58, 165)
HSLhsl(239, 49%, 43%)
HSVhsv(239, 66%, 65%)
CMYKcmyk(66.1%, 64.8%, 0%, 35.3%)
CIE-LABlab(30.84, 33.63, -57.97)
CIE-LCHlch(30.84, 67.02, 300.12°)
OKLaboklab(41.76% 0.0162 -0.1672)
OKLCHoklch(41.76% 0.168 275.5)
XYZxyz(9.9332, 6.5826, 36.3371)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383AA5 #A5A338
analogous
#3870A5 #383AA5 #6C38A5
triadic
#383AA5 #A5383A #3AA538
tetradic
#383AA5 #A53870 #A5A338 #38A56C
square
#383AA5 #A53870 #A5A338 #38A56C
split-complementary
#383AA5 #A56C38 #70A538
monochromatic
#191A4A #282A77 #383AA5 #5557C5 #8384D5

Accessibility & contrast

On white

9.07
#383AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#383AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383AA5
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383AA5#FFFFFF#000000##FFFFFF
##383AA51.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#0044A3
Tritanopia (blue-blind)
#00556A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #383aa5;
/* rgb */ color: rgb(56, 58, 165);
/* oklch */ color: oklch(41.8% 0.168 275.5);
Tailwind
colors: {
  custom: {
    50: '#7c70c1',
    500: '#383aa5',
    950: '#000000',
  },
}
SCSS
$custom: #383aa5;
$custom-light: #7c70c1;
$custom-dark: #000000;
JSON
{
  "hex": "#383aa5",
  "rgb": {
    "r": 56,
    "g": 58,
    "b": 165
  },
  "hsl": {
    "h": 238.899,
    "s": 49.321,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41755,
    "c": 0.16796,
    "h": 275.5
  },
  "luminance": 0.06583
}

Semantic roles & 50–950 ramp

primary
#383AA5
secondary
#BEBD7A
accent
#D64FD9
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #383AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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