#382BB3#382BB3

#382BB3 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.8% C 0.202 H 276.8°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#382BB3
RGBrgb(56, 43, 179)
HSLhsl(246, 61%, 44%)
HSVhsv(246, 76%, 70%)
CMYKcmyk(68.7%, 76%, 0%, 29.8%)
CIE-LABlab(28.96, 47.10, -69.45)
CIE-LCHlch(28.96, 83.91, 304.14°)
OKLaboklab(40.81% 0.024 -0.2007)
OKLCHoklch(40.81% 0.202 276.8)
XYZxyz(10.6288, 5.8222, 43.2028)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382BB3 #A6B32B
analogous
#2B62B3 #382BB3 #7C2BB3
triadic
#382BB3 #B3382B #2BB338
tetradic
#382BB3 #B32B62 #A6B32B #2BB37C
square
#382BB3 #B32B62 #A6B32B #2BB37C
split-complementary
#382BB3 #B37C2B #62B32B
monochromatic
#191350 #291F82 #382BB3 #5548D3 #8379DF

Accessibility & contrast

On white

9.70
#382BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#382BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382BB3
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382BB3#FFFFFF#000000##FFFFFF
##382BB31.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#003EB1
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #382bb3;
/* rgb */ color: rgb(56, 43, 179);
/* oklch */ color: oklch(40.8% 0.202 276.8);
Tailwind
colors: {
  custom: {
    50: '#8067cb',
    500: '#382bb3',
    950: '#000000',
  },
}
SCSS
$custom: #382bb3;
$custom-light: #8067cb;
$custom-dark: #000000;
JSON
{
  "hex": "#382bb3",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 245.735,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40811,
    "c": 0.20213,
    "h": 276.8
  },
  "luminance": 0.05823
}

Semantic roles & 50–950 ramp

primary
#382BB3
secondary
#BFC773
accent
#E443D5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #382BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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