#382BB0#382BB0

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

Color values

HEX#382BB0
RGBrgb(56, 43, 176)
HSLhsl(246, 61%, 43%)
HSVhsv(246, 76%, 69%)
CMYKcmyk(68.2%, 75.6%, 0%, 31%)
CIE-LABlab(28.65, 46.15, -68.17)
CIE-LCHlch(28.65, 82.32, 304.10°)
OKLaboklab(40.5% 0.0247 -0.197)
OKLCHoklch(40.5% 0.199 277.2)
XYZxyz(10.3287, 5.7022, 41.6222)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382BB0 #A3B02B
analogous
#2B60B0 #382BB0 #7B2BB0
triadic
#382BB0 #B0382B #2BB038
tetradic
#382BB0 #B02B60 #A3B02B #2BB07B
square
#382BB0 #B02B60 #A3B02B #2BB07B
split-complementary
#382BB0 #B07B2B #60B02B
monochromatic
#19134E #281F7F #382BB0 #5446D2 #8278DE

Accessibility & contrast

On white

9.81
#382BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#382BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382BB0
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382BB0#FFFFFF#000000##FFFFFF
##382BB01.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#003EAE
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #382bb0;
/* rgb */ color: rgb(56, 43, 176);
/* oklch */ color: oklch(40.5% 0.199 277.2);
Tailwind
colors: {
  custom: {
    50: '#8067c9',
    500: '#382bb0',
    950: '#000000',
  },
}
SCSS
$custom: #382bb0;
$custom-light: #8067c9;
$custom-dark: #000000;
JSON
{
  "hex": "#382bb0",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 245.865,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40499,
    "c": 0.19852,
    "h": 277.2
  },
  "luminance": 0.05703
}

Semantic roles & 50–950 ramp

primary
#382BB0
secondary
#BDC671
accent
#E444D4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #382BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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