#382EAE#382EAE

#382EAE is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.7% C 0.193 H 277.0°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#382EAE
RGBrgb(56, 46, 174)
HSLhsl(245, 58%, 43%)
HSVhsv(245, 74%, 68%)
CMYKcmyk(67.8%, 73.6%, 0%, 31.8%)
CIE-LABlab(29.03, 43.86, -66.34)
CIE-LCHlch(29.03, 79.53, 303.47°)
OKLaboklab(40.71% 0.0234 -0.1917)
OKLCHoklch(40.71% 0.193 277)
XYZxyz(10.2454, 5.8498, 40.6254)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382EAE #A4AE2E
analogous
#2E64AE #382EAE #782EAE
triadic
#382EAE #AE382E #2EAE38
tetradic
#382EAE #AE2E64 #A4AE2E #2EAE78
square
#382EAE #AE2E64 #A4AE2E #2EAE78
split-complementary
#382EAE #AE782E #64AE2E
monochromatic
#19144D #28217E #382EAE #544ACF #827ADC

Accessibility & contrast

On white

9.68
#382EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#382EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382EAE
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382EAE#FFFFFF#000000##FFFFFF
##382EAE1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#003FAC
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #382eae;
/* rgb */ color: rgb(56, 46, 174);
/* oklch */ color: oklch(40.7% 0.193 277.0);
Tailwind
colors: {
  custom: {
    50: '#7f69c7',
    500: '#382eae',
    950: '#000000',
  },
}
SCSS
$custom: #382eae;
$custom-light: #7f69c7;
$custom-dark: #000000;
JSON
{
  "hex": "#382eae",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 244.688,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40708,
    "c": 0.19309,
    "h": 277
  },
  "luminance": 0.05851
}

Semantic roles & 50–950 ramp

primary
#382EAE
secondary
#BEC474
accent
#E146D5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #382EAE

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

Preview Lab → · Contrast checker → · Palette generator →

#382EAE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva