#382FBF#382FBF

#382FBF is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.6% C 0.213 H 275.2°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#382FBF
RGBrgb(56, 47, 191)
HSLhsl(244, 61%, 47%)
HSVhsv(244, 75%, 75%)
CMYKcmyk(70.7%, 75.4%, 0%, 25.1%)
CIE-LABlab(30.96, 48.76, -73.26)
CIE-LCHlch(30.96, 88.00, 303.65°)
OKLaboklab(42.59% 0.0193 -0.2118)
OKLCHoklch(42.59% 0.213 275.2)
XYZxyz(12.0483, 6.6342, 49.9257)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382FBF #B6BF2F
analogous
#2F6EBF #382FBF #802FBF
triadic
#382FBF #BF382F #2FBF38
tetradic
#382FBF #BF2F6E #B6BF2F #2FBF80
square
#382FBF #BF2F6E #B6BF2F #2FBF80
split-complementary
#382FBF #BF802F #6EBF2F
monochromatic
#1B175D #2A238E #382FBF #5E56D5 #8D87E1

Accessibility & contrast

On white

9.02
#382FBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#382FBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382FBF
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382FBF#FFFFFF#000000##FFFFFF
##382FBF1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC3
Deuteranopia (green-blind)
#0042BC
Tritanopia (blue-blind)
#005975
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #382fbf;
/* rgb */ color: rgb(56, 47, 191);
/* oklch */ color: oklch(42.6% 0.213 275.2);
Tailwind
colors: {
  custom: {
    50: '#836ad4',
    500: '#382fbf',
    950: '#000000',
  },
}
SCSS
$custom: #382fbf;
$custom-light: #836ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#382fbf",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 191
  },
  "hsl": {
    "h": 243.75,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.42592,
    "c": 0.21271,
    "h": 275.2
  },
  "luminance": 0.06635
}

Semantic roles & 50–950 ramp

primary
#382FBF
secondary
#C6CB7F
accent
#E444DA
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #382FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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