#382AAF#382AAF

#382AAF is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.3% C 0.198 H 277.4°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#382AAF
RGBrgb(56, 42, 175)
HSLhsl(246, 61%, 43%)
HSVhsv(246, 76%, 69%)
CMYKcmyk(68%, 76%, 0%, 31.4%)
CIE-LABlab(28.36, 46.37, -68.05)
CIE-LCHlch(28.36, 82.35, 304.27°)
OKLaboklab(40.26% 0.0255 -0.1966)
OKLCHoklch(40.26% 0.198 277.4)
XYZxyz(10.1942, 5.5909, 41.0911)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382AAF #A1AF2A
analogous
#2A5EAF #382AAF #7B2AAF
triadic
#382AAF #AF382A #2AAF38
tetradic
#382AAF #AF2A5E #A1AF2A #2AAF7B
square
#382AAF #AF2A5E #A1AF2A #2AAF7B
split-complementary
#382AAF #AF7B2A #5EAF2A
monochromatic
#18124C #281E7E #382AAF #5344D2 #8075DE

Accessibility & contrast

On white

9.91
#382AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#382AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382AAF
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382AAF#FFFFFF#000000##FFFFFF
##382AAF1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003DAD
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #382aaf;
/* rgb */ color: rgb(56, 42, 175);
/* oklch */ color: oklch(40.3% 0.198 277.4);
Tailwind
colors: {
  custom: {
    50: '#8066c8',
    500: '#382aaf',
    950: '#000000',
  },
}
SCSS
$custom: #382aaf;
$custom-light: #8066c8;
$custom-dark: #000000;
JSON
{
  "hex": "#382aaf",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 246.316,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40262,
    "c": 0.19828,
    "h": 277.4
  },
  "luminance": 0.05592
}

Semantic roles & 50–950 ramp

primary
#382AAF
secondary
#BCC66F
accent
#E443D3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #382AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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