#382F85#382F85

#382F85 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.0% C 0.138 H 282.0°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#382F85
RGBrgb(56, 47, 133)
HSLhsl(246, 48%, 35%)
HSVhsv(246, 65%, 52%)
CMYKcmyk(57.9%, 64.7%, 0%, 47.8%)
CIE-LABlab(25.46, 29.66, -47.11)
CIE-LCHlch(25.46, 55.67, 302.19°)
OKLaboklab(36.98% 0.0287 -0.1353)
OKLCHoklch(36.98% 0.138 282)
XYZxyz(6.8797, 4.5668, 22.7047)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382F85 #7C852F
analogous
#2F5185 #382F85 #632F85
triadic
#382F85 #85382F #2F8538
tetradic
#382F85 #852F51 #7C852F #2F8563
square
#382F85 #852F51 #7C852F #2F8563
split-complementary
#382F85 #85632F #51852F
monochromatic
#120F2B #251F58 #382F85 #4B3FB2 #7066C9

Accessibility & contrast

On white

10.98
#382F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#382F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382F85
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382F85#FFFFFF#000000##FFFFFF
##382F851.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#114455
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #382f85;
/* rgb */ color: rgb(56, 47, 133);
/* oklch */ color: oklch(37.0% 0.138 282.0);
Tailwind
colors: {
  custom: {
    50: '#7768a9',
    500: '#382f85',
    950: '#000000',
  },
}
SCSS
$custom: #382f85;
$custom-light: #7768a9;
$custom-dark: #000000;
JSON
{
  "hex": "#382f85",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 246.279,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36983,
    "c": 0.13835,
    "h": 282
  },
  "luminance": 0.04567
}

Semantic roles & 50–950 ramp

primary
#382F85
secondary
#A7B060
accent
#D750C9
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #382F85

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

Preview Lab → · Contrast checker → · Palette generator →

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