#382FAC#382FAC

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

Color values

HEX#382FAC
RGBrgb(56, 47, 172)
HSLhsl(244, 57%, 43%)
HSVhsv(244, 73%, 67%)
CMYKcmyk(67.4%, 72.7%, 0%, 32.5%)
CIE-LABlab(29.03, 42.64, -65.14)
CIE-LCHlch(29.03, 77.86, 303.21°)
OKLaboklab(40.65% 0.0232 -0.1882)
OKLCHoklch(40.65% 0.19 277)
XYZxyz(10.0914, 5.8515, 39.6194)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382FAC #A3AC2F
analogous
#2F64AC #382FAC #762FAC
triadic
#382FAC #AC382F #2FAC38
tetradic
#382FAC #AC2F64 #A3AC2F #2FAC76
square
#382FAC #AC2F64 #A3AC2F #2FAC76
split-complementary
#382FAC #AC762F #64AC2F
monochromatic
#19154C #28227C #382FAC #544BCE #827BDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##382FAC#FFFFFF#000000##FFFFFF
##382FAC1.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)
#004AB0
Deuteranopia (green-blind)
#003FAA
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #382fac;
/* rgb */ color: rgb(56, 47, 172);
/* oklch */ color: oklch(40.7% 0.190 277.0);
Tailwind
colors: {
  custom: {
    50: '#7f69c6',
    500: '#382fac',
    950: '#000000',
  },
}
SCSS
$custom: #382fac;
$custom-light: #7f69c6;
$custom-dark: #000000;
JSON
{
  "hex": "#382fac",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 244.32,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40651,
    "c": 0.18957,
    "h": 277
  },
  "luminance": 0.05852
}

Semantic roles & 50–950 ramp

primary
#382FAC
secondary
#BDC374
accent
#E047D5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #382FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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