#382DBF#382DBF

#382DBF is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.3% C 0.215 H 275.4°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#382DBF
RGBrgb(56, 45, 191)
HSLhsl(245, 62%, 46%)
HSVhsv(245, 76%, 75%)
CMYKcmyk(70.7%, 76.4%, 0%, 25.1%)
CIE-LABlab(30.59, 49.81, -73.87)
CIE-LCHlch(30.59, 89.10, 303.99°)
OKLaboklab(42.33% 0.0203 -0.2136)
OKLCHoklch(42.33% 0.215 275.4)
XYZxyz(11.9701, 6.4780, 49.8997)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382DBF #B4BF2D
analogous
#2D6BBF #382DBF #812DBF
triadic
#382DBF #BF382D #2DBF38
tetradic
#382DBF #BF2D6B #B4BF2D #2DBF81
square
#382DBF #BF2D6B #B4BF2D #2DBF81
split-complementary
#382DBF #BF812D #6BBF2D
monochromatic
#1B165C #29218D #382DBF #5D53D6 #8B84E2

Accessibility & contrast

On white

9.15
#382DBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#382DBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382DBF
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382DBF#FFFFFF#000000##FFFFFF
##382DBF1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC3
Deuteranopia (green-blind)
#0041BC
Tritanopia (blue-blind)
#005875
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #382dbf;
/* rgb */ color: rgb(56, 45, 191);
/* oklch */ color: oklch(42.3% 0.215 275.4);
Tailwind
colors: {
  custom: {
    50: '#8369d4',
    500: '#382dbf',
    950: '#000000',
  },
}
SCSS
$custom: #382dbf;
$custom-light: #8369d4;
$custom-dark: #000000;
JSON
{
  "hex": "#382dbf",
  "rgb": {
    "r": 56,
    "g": 45,
    "b": 191
  },
  "hsl": {
    "h": 244.521,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4233,
    "c": 0.21456,
    "h": 275.4
  },
  "luminance": 0.06479
}

Semantic roles & 50–950 ramp

primary
#382DBF
secondary
#C5CB7C
accent
#E543D9
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #382DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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