#382FB3#382FB3

#382FB3 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.4% C 0.198 H 276.3°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#382FB3
RGBrgb(56, 47, 179)
HSLhsl(244, 58%, 44%)
HSVhsv(244, 74%, 70%)
CMYKcmyk(68.7%, 73.7%, 0%, 29.8%)
CIE-LABlab(29.73, 44.92, -68.17)
CIE-LCHlch(29.73, 81.64, 303.38°)
OKLaboklab(41.36% 0.0218 -0.197)
OKLCHoklch(41.36% 0.198 276.3)
XYZxyz(10.7814, 6.1275, 43.2536)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382FB3 #AAB32F
analogous
#2F68B3 #382FB3 #7A2FB3
triadic
#382FB3 #B3382F #2FB338
tetradic
#382FB3 #B32F68 #AAB32F #2FB37A
square
#382FB3 #B32F68 #AAB32F #2FB37A
split-complementary
#382FB3 #B37A2F #68B32F
monochromatic
#1A1652 #292283 #382FB3 #574FD1 #857FDD

Accessibility & contrast

On white

9.44
#382FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#382FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382FB3
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382FB3#FFFFFF#000000##FFFFFF
##382FB31.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0040B1
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #382fb3;
/* rgb */ color: rgb(56, 47, 179);
/* oklch */ color: oklch(41.4% 0.198 276.3);
Tailwind
colors: {
  custom: {
    50: '#806acb',
    500: '#382fb3',
    950: '#000000',
  },
}
SCSS
$custom: #382fb3;
$custom-light: #806acb;
$custom-dark: #000000;
JSON
{
  "hex": "#382fb3",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 244.091,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41357,
    "c": 0.19821,
    "h": 276.3
  },
  "luminance": 0.06128
}

Semantic roles & 50–950 ramp

primary
#382FB3
secondary
#C1C678
accent
#E246D7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #382FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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