#382D79#382D79

#382D79 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.124 H 284.8°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#382D79
RGBrgb(56, 45, 121)
HSLhsl(249, 46%, 33%)
HSVhsv(249, 63%, 47%)
CMYKcmyk(53.7%, 62.8%, 0%, 52.5%)
CIE-LABlab(23.99, 26.92, -41.94)
CIE-LCHlch(23.99, 49.84, 302.70°)
OKLaboklab(35.6% 0.0317 -0.1201)
OKLCHoklch(35.6% 0.124 284.8)
XYZxyz(6.0194, 4.0977, 18.5592)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382D79 #6E792D
analogous
#2D4879 #382D79 #5E2D79
triadic
#382D79 #79382D #2D7938
tetradic
#382D79 #792D48 #6E792D #2D795E
square
#382D79 #792D48 #6E792D #2D795E
split-complementary
#382D79 #795E2D #48792D
monochromatic
#0F0C20 #231C4C #382D79 #4D3EA6 #6C5DC3

Accessibility & contrast

On white

11.54
#382D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#382D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382D79
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382D79#FFFFFF#000000##FFFFFF
##382D791.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7B
Deuteranopia (green-blind)
#003777
Tritanopia (blue-blind)
#1F3F4E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #382d79;
/* rgb */ color: rgb(56, 45, 121);
/* oklch */ color: oklch(35.6% 0.124 284.8);
Tailwind
colors: {
  custom: {
    50: '#7566a0',
    500: '#382d79',
    950: '#000000',
  },
}
SCSS
$custom: #382d79;
$custom-light: #7566a0;
$custom-dark: #000000;
JSON
{
  "hex": "#382d79",
  "rgb": {
    "r": 56,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 248.684,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35598,
    "c": 0.12424,
    "h": 284.8
  },
  "luminance": 0.04098
}

Semantic roles & 50–950 ramp

primary
#382D79
secondary
#9EA958
accent
#D552C2
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060F
muted
#7B7A7E

Preview Lab

Preview with #382D79

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

Preview Lab → · Contrast checker → · Palette generator →

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