#382E90#382E90

#382E90 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.155 H 280.6°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#382E90
RGBrgb(56, 46, 144)
HSLhsl(246, 52%, 37%)
HSVhsv(246, 68%, 56%)
CMYKcmyk(61.1%, 68.1%, 0%, 43.5%)
CIE-LABlab(26.18, 33.98, -52.78)
CIE-LCHlch(26.18, 62.77, 302.77°)
OKLaboklab(37.8% 0.0285 -0.152)
OKLCHoklch(37.8% 0.155 280.6)
XYZxyz(7.6403, 4.8078, 26.9055)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382E90 #86902E
analogous
#2E5590 #382E90 #692E90
triadic
#382E90 #90382E #2E9038
tetradic
#382E90 #902E55 #86902E #2E9069
square
#382E90 #902E55 #86902E #2E9069
split-complementary
#382E90 #90692E #55902E
monochromatic
#141033 #261F62 #382E90 #4A3DBE #7469CF

Accessibility & contrast

On white

10.71
#382E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#382E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382E90
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382E90#FFFFFF#000000##FFFFFF
##382E901.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#003A8E
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #382e90;
/* rgb */ color: rgb(56, 46, 144);
/* oklch */ color: oklch(37.8% 0.155 280.6);
Tailwind
colors: {
  custom: {
    50: '#7968b1',
    500: '#382e90',
    950: '#000000',
  },
}
SCSS
$custom: #382e90;
$custom-light: #7968b1;
$custom-dark: #000000;
JSON
{
  "hex": "#382e90",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 246.122,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37799,
    "c": 0.15464,
    "h": 280.6
  },
  "luminance": 0.04808
}

Semantic roles & 50–950 ramp

primary
#382E90
secondary
#AEB664
accent
#DB4DCD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #382E90

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

Preview Lab → · Contrast checker → · Palette generator →

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