#382BC5#382BC5

#382BC5 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.7% C 0.223 H 275.1°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#382BC5
RGBrgb(56, 43, 197)
HSLhsl(245, 64%, 47%)
HSVhsv(245, 78%, 77%)
CMYKcmyk(71.6%, 78.2%, 0%, 22.7%)
CIE-LABlab(30.87, 52.69, -76.93)
CIE-LCHlch(30.87, 93.24, 304.41°)
OKLaboklab(42.72% 0.0198 -0.2224)
OKLCHoklch(42.72% 0.223 275.1)
XYZxyz(12.5695, 6.5985, 53.4237)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382BC5 #B8C52B
analogous
#2B6BC5 #382BC5 #852BC5
triadic
#382BC5 #C5382B #2BC538
tetradic
#382BC5 #C52B6B #B8C52B #2BC585
square
#382BC5 #C52B6B #B8C52B #2BC585
split-complementary
#382BC5 #C5852B #6BC52B
monochromatic
#1B1561 #2A2093 #382BC5 #5F54DA #8E86E5

Accessibility & contrast

On white

9.05
#382BC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#382BC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382BC5
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382BC5#FFFFFF#000000##FFFFFF
##382BC51.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC9
Deuteranopia (green-blind)
#0042C2
Tritanopia (blue-blind)
#005A78
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #382bc5;
/* rgb */ color: rgb(56, 43, 197);
/* oklch */ color: oklch(42.7% 0.223 275.1);
Tailwind
colors: {
  custom: {
    50: '#8468d8',
    500: '#382bc5',
    950: '#000000',
  },
}
SCSS
$custom: #382bc5;
$custom-light: #8468d8;
$custom-dark: #000000;
JSON
{
  "hex": "#382bc5",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 197
  },
  "hsl": {
    "h": 245.065,
    "s": 64.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.4272,
    "c": 0.22333,
    "h": 275.1
  },
  "luminance": 0.066
}

Semantic roles & 50–950 ramp

primary
#382BC5
secondary
#C7CE7E
accent
#E741D9
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #382BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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