#382E76#382E76

#382E76 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.5% C 0.118 H 285.0°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#382E76
RGBrgb(56, 46, 118)
HSLhsl(248, 44%, 32%)
HSVhsv(248, 61%, 46%)
CMYKcmyk(52.5%, 61%, 0%, 53.7%)
CIE-LABlab(24.01, 25.27, -40.01)
CIE-LCHlch(24.01, 47.32, 302.28°)
OKLaboklab(35.53% 0.0306 -0.1144)
OKLCHoklch(35.53% 0.118 285)
XYZxyz(5.8769, 4.1025, 17.6182)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382E76 #6C762E
analogous
#2E4876 #382E76 #5C2E76
triadic
#382E76 #76382E #2E7638
tetradic
#382E76 #762E48 #6C762E #2E765C
square
#382E76 #762E48 #6C762E #2E765C
split-complementary
#382E76 #765C2E #48762E
monochromatic
#0E0C1E #231D4A #382E76 #4D3FA2 #6C5EC0

Accessibility & contrast

On white

11.53
#382E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #382E76
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382E76#FFFFFF#000000##FFFFFF
##382E761.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B78
Deuteranopia (green-blind)
#003774
Tritanopia (blue-blind)
#213F4D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #382e76;
/* rgb */ color: rgb(56, 46, 118);
/* oklch */ color: oklch(35.5% 0.118 285.0);
Tailwind
colors: {
  custom: {
    50: '#74679e',
    500: '#382e76',
    950: '#000000',
  },
}
SCSS
$custom: #382e76;
$custom-light: #74679e;
$custom-dark: #000000;
JSON
{
  "hex": "#382e76",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 118
  },
  "hsl": {
    "h": 248.333,
    "s": 43.902,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35535,
    "c": 0.11847,
    "h": 285
  },
  "luminance": 0.04103
}

Semantic roles & 50–950 ramp

primary
#382E76
secondary
#9CA759
accent
#D454C2
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #382E76

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

Preview Lab → · Contrast checker → · Palette generator →

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