#382E83#382E83

#382E83 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.137 H 282.6°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#382E83
RGBrgb(56, 46, 131)
HSLhsl(247, 48%, 35%)
HSVhsv(247, 65%, 51%)
CMYKcmyk(57.3%, 64.9%, 0%, 48.6%)
CIE-LABlab(25.05, 29.62, -46.52)
CIE-LCHlch(25.05, 55.15, 302.49°)
OKLaboklab(36.63% 0.0299 -0.1336)
OKLCHoklch(36.63% 0.137 282.6)
XYZxyz(6.7034, 4.4330, 21.9708)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382E83 #79832E
analogous
#2E4E83 #382E83 #632E83
triadic
#382E83 #83382E #2E8338
tetradic
#382E83 #832E4E #79832E #2E8363
square
#382E83 #832E4E #79832E #2E8363
split-complementary
#382E83 #83632E #4E832E
monochromatic
#110E28 #251E56 #382E83 #4B3EB0 #6F63C8

Accessibility & contrast

On white

11.13
#382E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#382E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382E83
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382E83#FFFFFF#000000##FFFFFF
##382E831.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#003881
Tritanopia (blue-blind)
#144354
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #382e83;
/* rgb */ color: rgb(56, 46, 131);
/* oklch */ color: oklch(36.6% 0.137 282.6);
Tailwind
colors: {
  custom: {
    50: '#7667a8',
    500: '#382e83',
    950: '#000000',
  },
}
SCSS
$custom: #382e83;
$custom-light: #7667a8;
$custom-dark: #000000;
JSON
{
  "hex": "#382e83",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 247.059,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36632,
    "c": 0.13692,
    "h": 282.6
  },
  "luminance": 0.04433
}

Semantic roles & 50–950 ramp

primary
#382E83
secondary
#A5AF5E
accent
#D850C8
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #382E83

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

Preview Lab → · Contrast checker → · Palette generator →

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