#382FAE#382FAE

#382FAE is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.9% C 0.192 H 276.8°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#382FAE
RGBrgb(56, 47, 174)
HSLhsl(244, 57%, 43%)
HSVhsv(244, 73%, 68%)
CMYKcmyk(67.8%, 73%, 0%, 31.8%)
CIE-LABlab(29.23, 43.30, -66.01)
CIE-LCHlch(29.23, 78.94, 303.26°)
OKLaboklab(40.85% 0.0228 -0.1907)
OKLCHoklch(40.85% 0.192 276.8)
XYZxyz(10.2849, 5.9289, 40.6386)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382FAE #A5AE2F
analogous
#2F65AE #382FAE #772FAE
triadic
#382FAE #AE382F #2FAE38
tetradic
#382FAE #AE2F65 #A5AE2F #2FAE77
square
#382FAE #AE2F65 #A5AE2F #2FAE77
split-complementary
#382FAE #AE772F #65AE2F
monochromatic
#19154E #28227E #382FAE #554CCF #837CDC

Accessibility & contrast

On white

9.61
#382FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#382FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382FAE
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382FAE#FFFFFF#000000##FFFFFF
##382FAE1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #382fae;
/* rgb */ color: rgb(56, 47, 174);
/* oklch */ color: oklch(40.9% 0.192 276.8);
Tailwind
colors: {
  custom: {
    50: '#7f69c7',
    500: '#382fae',
    950: '#000000',
  },
}
SCSS
$custom: #382fae;
$custom-light: #7f69c7;
$custom-dark: #000000;
JSON
{
  "hex": "#382fae",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 174
  },
  "hsl": {
    "h": 244.252,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40852,
    "c": 0.19205,
    "h": 276.8
  },
  "luminance": 0.0593
}

Semantic roles & 50–950 ramp

primary
#382FAE
secondary
#BEC475
accent
#E147D6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #382FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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