#382F7E#382F7E

#382F7E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.129 H 283.1°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#382F7E
RGBrgb(56, 47, 126)
HSLhsl(247, 46%, 34%)
HSVhsv(247, 63%, 49%)
CMYKcmyk(55.6%, 62.7%, 0%, 50.6%)
CIE-LABlab(24.89, 27.30, -43.65)
CIE-LCHlch(24.89, 51.48, 302.02°)
OKLaboklab(36.38% 0.0292 -0.1252)
OKLCHoklch(36.38% 0.129 283.1)
XYZxyz(6.4121, 4.3798, 20.2421)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382F7E #757E2F
analogous
#2F4E7E #382F7E #602F7E
triadic
#382F7E #7E382F #2F7E38
tetradic
#382F7E #7E2F4E #757E2F #2F7E60
square
#382F7E #7E2F4E #757E2F #2F7E60
split-complementary
#382F7E #7E602F #4E7E2F
monochromatic
#100E25 #241E51 #382F7E #4C40AB #6E63C5

Accessibility & contrast

On white

11.19
#382F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#382F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382F7E
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382F7E#FFFFFF#000000##FFFFFF
##382F7E1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#1A4251
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #382f7e;
/* rgb */ color: rgb(56, 47, 126);
/* oklch */ color: oklch(36.4% 0.129 283.1);
Tailwind
colors: {
  custom: {
    50: '#7568a4',
    500: '#382f7e',
    950: '#000000',
  },
}
SCSS
$custom: #382f7e;
$custom-light: #7568a4;
$custom-dark: #000000;
JSON
{
  "hex": "#382f7e",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 246.835,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36383,
    "c": 0.12851,
    "h": 283.1
  },
  "luminance": 0.0438
}

Semantic roles & 50–950 ramp

primary
#382F7E
secondary
#A3AC5D
accent
#D552C6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #382F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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