#383AA8#383AA8

#383AA8 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.0% C 0.172 H 275.3°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#383AA8
RGBrgb(56, 58, 168)
HSLhsl(239, 50%, 44%)
HSVhsv(239, 67%, 66%)
CMYKcmyk(66.7%, 65.5%, 0%, 34.1%)
CIE-LABlab(31.10, 34.67, -59.35)
CIE-LCHlch(31.10, 68.74, 300.29°)
OKLaboklab(42.03% 0.0159 -0.1712)
OKLCHoklch(42.03% 0.172 275.3)
XYZxyz(10.2095, 6.6931, 37.7921)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383AA8 #A8A638
analogous
#3872A8 #383AA8 #6E38A8
triadic
#383AA8 #A8383A #3AA838
tetradic
#383AA8 #A83872 #A8A638 #38A86E
square
#383AA8 #A83872 #A8A638 #38A86E
split-complementary
#383AA8 #A86E38 #72A838
monochromatic
#191A4C #292A7A #383AA8 #5658C7 #8486D6

Accessibility & contrast

On white

8.98
#383AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#383AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383AA8
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383AA8#FFFFFF#000000##FFFFFF
##383AA81.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#0044A6
Tritanopia (blue-blind)
#00566B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #383aa8;
/* rgb */ color: rgb(56, 58, 168);
/* oklch */ color: oklch(42.0% 0.172 275.3);
Tailwind
colors: {
  custom: {
    50: '#7d70c3',
    500: '#383aa8',
    950: '#000000',
  },
}
SCSS
$custom: #383aa8;
$custom-light: #7d70c3;
$custom-dark: #000000;
JSON
{
  "hex": "#383aa8",
  "rgb": {
    "r": 56,
    "g": 58,
    "b": 168
  },
  "hsl": {
    "h": 238.929,
    "s": 50,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42025,
    "c": 0.17196,
    "h": 275.3
  },
  "luminance": 0.06694
}

Semantic roles & 50–950 ramp

primary
#383AA8
secondary
#C0BF7C
accent
#D74EDA
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #383AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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