#382CAF#382CAF

#382CAF is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.5% C 0.196 H 277.1°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#382CAF
RGBrgb(56, 44, 175)
HSLhsl(245, 60%, 43%)
HSVhsv(245, 75%, 69%)
CMYKcmyk(68%, 74.9%, 0%, 31.4%)
CIE-LABlab(28.74, 45.29, -67.43)
CIE-LCHlch(28.74, 81.22, 303.89°)
OKLaboklab(40.53% 0.0244 -0.1948)
OKLCHoklch(40.53% 0.196 277.1)
XYZxyz(10.2669, 5.7364, 41.1153)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382CAF #A3AF2C
analogous
#2C62AF #382CAF #792CAF
triadic
#382CAF #AF382C #2CAF38
tetradic
#382CAF #AF2C62 #A3AF2C #2CAF79
square
#382CAF #AF2C62 #A3AF2C #2CAF79
split-complementary
#382CAF #AF792C #62AF2C
monochromatic
#19134D #28207E #382CAF #5447D1 #8278DD

Accessibility & contrast

On white

9.78
#382CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#382CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382CAF
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382CAF#FFFFFF#000000##FFFFFF
##382CAF1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#003EAD
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #382caf;
/* rgb */ color: rgb(56, 44, 175);
/* oklch */ color: oklch(40.5% 0.196 277.1);
Tailwind
colors: {
  custom: {
    50: '#7f67c8',
    500: '#382caf',
    950: '#000000',
  },
}
SCSS
$custom: #382caf;
$custom-light: #7f67c8;
$custom-dark: #000000;
JSON
{
  "hex": "#382caf",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 245.496,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40531,
    "c": 0.19633,
    "h": 277.1
  },
  "luminance": 0.05737
}

Semantic roles & 50–950 ramp

primary
#382CAF
secondary
#BDC572
accent
#E345D4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #382CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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