#382985#382985

#382985 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.146 H 283.7°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#382985
RGBrgb(56, 41, 133)
HSLhsl(250, 53%, 34%)
HSVhsv(250, 69%, 52%)
CMYKcmyk(57.9%, 69.2%, 0%, 47.8%)
CIE-LABlab(24.06, 33.41, -49.39)
CIE-LCHlch(24.06, 59.63, 304.07°)
OKLaboklab(35.97% 0.0346 -0.1421)
OKLCHoklch(35.97% 0.146 283.7)
XYZxyz(6.6562, 4.1197, 22.6302)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382985 #768529
analogous
#294885 #382985 #662985
triadic
#382985 #853829 #298538
tetradic
#382985 #852948 #768529 #298566
square
#382985 #852948 #768529 #298566
split-complementary
#382985 #856629 #488529
monochromatic
#110C27 #241B56 #382985 #4C37B4 #6E5CCD

Accessibility & contrast

On white

11.51
#382985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#382985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382985
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382985#FFFFFF#000000##FFFFFF
##3829851.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#124153
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #382985;
/* rgb */ color: rgb(56, 41, 133);
/* oklch */ color: oklch(36.0% 0.146 283.7);
Tailwind
colors: {
  custom: {
    50: '#7764a9',
    500: '#382985',
    950: '#000000',
  },
}
SCSS
$custom: #382985;
$custom-light: #7764a9;
$custom-dark: #000000;
JSON
{
  "hex": "#382985",
  "rgb": {
    "r": 56,
    "g": 41,
    "b": 133
  },
  "hsl": {
    "h": 249.783,
    "s": 52.874,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35967,
    "c": 0.14622,
    "h": 283.7
  },
  "luminance": 0.0412
}

Semantic roles & 50–950 ramp

primary
#382985
secondary
#A3B258
accent
#DC4CC5
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #382985

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

Preview Lab → · Contrast checker → · Palette generator →

#382985 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva