#383293#383293

#383293 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.7% C 0.154 H 279.2°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#383293
RGBrgb(56, 50, 147)
HSLhsl(244, 49%, 39%)
HSVhsv(244, 66%, 58%)
CMYKcmyk(61.9%, 66%, 0%, 42.4%)
CIE-LABlab(27.37, 32.49, -52.68)
CIE-LCHlch(27.37, 61.89, 301.67°)
OKLaboklab(38.75% 0.0246 -0.1517)
OKLCHoklch(38.75% 0.154 279.2)
XYZxyz(8.0363, 5.2279, 28.1837)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383293 #8D9332
analogous
#325C93 #383293 #683293
triadic
#383293 #933832 #329338
tetradic
#383293 #93325C #8D9332 #329368
square
#383293 #93325C #8D9332 #329368
split-complementary
#383293 #936832 #5C9332
monochromatic
#151338 #272265 #383293 #4B43BF #7771CF

Accessibility & contrast

On white

10.26
#383293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#383293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383293
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383293#FFFFFF#000000##FFFFFF
##3832931.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004496
Deuteranopia (green-blind)
#003D91
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #383293;
/* rgb */ color: rgb(56, 50, 147);
/* oklch */ color: oklch(38.7% 0.154 279.2);
Tailwind
colors: {
  custom: {
    50: '#796ab4',
    500: '#383293',
    950: '#000000',
  },
}
SCSS
$custom: #383293;
$custom-light: #796ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#383293",
  "rgb": {
    "r": 56,
    "g": 50,
    "b": 147
  },
  "hsl": {
    "h": 243.711,
    "s": 49.239,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38747,
    "c": 0.15366,
    "h": 279.2
  },
  "luminance": 0.05229
}

Semantic roles & 50–950 ramp

primary
#383293
secondary
#B2B76A
accent
#D94FD0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #383293

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

Preview Lab → · Contrast checker → · Palette generator →

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