#382FBA#382FBA

#382FBA is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.1% C 0.207 H 275.7°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#382FBA
RGBrgb(56, 47, 186)
HSLhsl(244, 60%, 46%)
HSVhsv(244, 75%, 73%)
CMYKcmyk(69.9%, 74.7%, 0%, 27.1%)
CIE-LABlab(30.44, 47.17, -71.16)
CIE-LCHlch(30.44, 85.37, 303.54°)
OKLaboklab(42.07% 0.0204 -0.2057)
OKLCHoklch(42.07% 0.207 275.7)
XYZxyz(11.5074, 6.4179, 47.0772)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382FBA #B1BA2F
analogous
#2F6BBA #382FBA #7D2FBA
triadic
#382FBA #BA382F #2FBA38
tetradic
#382FBA #BA2F6B #B1BA2F #2FBA7D
square
#382FBA #BA2F6B #B1BA2F #2FBA7D
split-complementary
#382FBA #BA7D2F #6BBA2F
monochromatic
#1B1658 #292389 #382FBA #5B53D3 #8A84E0

Accessibility & contrast

On white

9.20
#382FBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#382FBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382FBA
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382FBA#FFFFFF#000000##FFFFFF
##382FBA1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBE
Deuteranopia (green-blind)
#0041B8
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #382fba;
/* rgb */ color: rgb(56, 47, 186);
/* oklch */ color: oklch(42.1% 0.207 275.7);
Tailwind
colors: {
  custom: {
    50: '#826ad0',
    500: '#382fba',
    950: '#000000',
  },
}
SCSS
$custom: #382fba;
$custom-light: #826ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#382fba",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 243.885,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42073,
    "c": 0.20672,
    "h": 275.7
  },
  "luminance": 0.06419
}

Semantic roles & 50–950 ramp

primary
#382FBA
secondary
#C4C97C
accent
#E345D9
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #382FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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