#382FB0#382FB0

#382FB0 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.1% C 0.195 H 276.6°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#382FB0
RGBrgb(56, 47, 176)
HSLhsl(244, 58%, 44%)
HSVhsv(244, 73%, 69%)
CMYKcmyk(68.2%, 73.3%, 0%, 31%)
CIE-LABlab(29.43, 43.95, -66.88)
CIE-LCHlch(29.43, 80.03, 303.31°)
OKLaboklab(41.05% 0.0224 -0.1932)
OKLCHoklch(41.05% 0.195 276.6)
XYZxyz(10.4813, 6.0074, 41.6731)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382FB0 #A7B02F
analogous
#2F66B0 #382FB0 #782FB0
triadic
#382FB0 #B0382F #2FB038
tetradic
#382FB0 #B02F66 #A7B02F #2FB078
square
#382FB0 #B02F66 #A7B02F #2FB078
split-complementary
#382FB0 #B0782F #66B02F
monochromatic
#19154F #292280 #382FB0 #564DCF #847DDC

Accessibility & contrast

On white

9.54
#382FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#382FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382FB0
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382FB0#FFFFFF#000000##FFFFFF
##382FB01.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB4
Deuteranopia (green-blind)
#0040AE
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #382fb0;
/* rgb */ color: rgb(56, 47, 176);
/* oklch */ color: oklch(41.1% 0.195 276.6);
Tailwind
colors: {
  custom: {
    50: '#7f69c9',
    500: '#382fb0',
    950: '#000000',
  },
}
SCSS
$custom: #382fb0;
$custom-light: #7f69c9;
$custom-dark: #000000;
JSON
{
  "hex": "#382fb0",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 244.186,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41053,
    "c": 0.19453,
    "h": 276.6
  },
  "luminance": 0.06008
}

Semantic roles & 50–950 ramp

primary
#382FB0
secondary
#BFC576
accent
#E147D6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #382FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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