#383192#383192

#383192 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.154 H 279.6°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#383192
RGBrgb(56, 49, 146)
HSLhsl(244, 50%, 38%)
HSVhsv(244, 66%, 57%)
CMYKcmyk(61.6%, 66.4%, 0%, 42.7%)
CIE-LABlab(27.05, 32.78, -52.59)
CIE-LCHlch(27.05, 61.97, 301.94°)
OKLaboklab(38.49% 0.0256 -0.1514)
OKLCHoklch(38.49% 0.154 279.6)
XYZxyz(7.9159, 5.1121, 27.7582)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383192 #8B9231
analogous
#315A92 #383192 #683192
triadic
#383192 #923831 #319238
tetradic
#383192 #92315A #8B9231 #319268
square
#383192 #92315A #8B9231 #319268
split-complementary
#383192 #926831 #5A9231
monochromatic
#151236 #262264 #383192 #4A41BF #766FCF

Accessibility & contrast

On white

10.38
#383192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#383192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383192
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383192#FFFFFF#000000##FFFFFF
##3831921.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004495
Deuteranopia (green-blind)
#003C90
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #383192;
/* rgb */ color: rgb(56, 49, 146);
/* oklch */ color: oklch(38.5% 0.154 279.6);
Tailwind
colors: {
  custom: {
    50: '#796ab3',
    500: '#383192',
    950: '#000000',
  },
}
SCSS
$custom: #383192;
$custom-light: #796ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#383192",
  "rgb": {
    "r": 56,
    "g": 49,
    "b": 146
  },
  "hsl": {
    "h": 244.33,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38486,
    "c": 0.15356,
    "h": 279.6
  },
  "luminance": 0.05113
}

Semantic roles & 50–950 ramp

primary
#383192
secondary
#B1B669
accent
#D94FCF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #383192

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

Preview Lab → · Contrast checker → · Palette generator →

#383192 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva