#382E72#382E72

#382E72 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 35.2% C 0.113 H 285.8°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#382E72
RGBrgb(56, 46, 114)
HSLhsl(249, 43%, 31%)
HSVhsv(249, 60%, 45%)
CMYKcmyk(50.9%, 59.6%, 0%, 55.3%)
CIE-LABlab(23.70, 23.94, -37.94)
CIE-LCHlch(23.70, 44.87, 302.25°)
OKLaboklab(35.21% 0.0306 -0.1084)
OKLCHoklch(35.21% 0.113 285.8)
XYZxyz(5.6443, 4.0094, 16.3928)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382E72 #68722E
analogous
#2E4672 #382E72 #5A2E72
triadic
#382E72 #72382E #2E7238
tetradic
#382E72 #722E46 #68722E #2E725A
square
#382E72 #722E46 #68722E #2E725A
split-complementary
#382E72 #725A2E #46722E
monochromatic
#0D0B1B #231C46 #382E72 #4D409E #6B5DBE

Accessibility & contrast

On white

11.65
#382E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#382E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382E72
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382E72#FFFFFF#000000##FFFFFF
##382E721.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013A74
Deuteranopia (green-blind)
#003671
Tritanopia (blue-blind)
#243D4B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #382e72;
/* rgb */ color: rgb(56, 46, 114);
/* oklch */ color: oklch(35.2% 0.113 285.8);
Tailwind
colors: {
  custom: {
    50: '#74679b',
    500: '#382e72',
    950: '#000000',
  },
}
SCSS
$custom: #382e72;
$custom-light: #74679b;
$custom-dark: #000000;
JSON
{
  "hex": "#382e72",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 248.824,
    "s": 42.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35213,
    "c": 0.11264,
    "h": 285.8
  },
  "luminance": 0.0401
}

Semantic roles & 50–950 ramp

primary
#382E72
secondary
#98A358
accent
#D256C0
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #382E72

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

Preview Lab → · Contrast checker → · Palette generator →

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