#38328E#38328E

#38328E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.147 H 279.8°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#38328E
RGBrgb(56, 50, 142)
HSLhsl(244, 48%, 38%)
HSVhsv(244, 65%, 56%)
CMYKcmyk(60.6%, 64.8%, 0%, 44.3%)
CIE-LABlab(26.95, 30.79, -50.29)
CIE-LCHlch(26.95, 58.97, 301.48°)
OKLaboklab(38.3% 0.025 -0.1447)
OKLCHoklch(38.3% 0.147 279.8)
XYZxyz(7.6524, 5.0744, 26.1621)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38328E #888E32
analogous
#325A8E #38328E #66328E
triadic
#38328E #8E3832 #328E38
tetradic
#38328E #8E325A #888E32 #328E66
square
#38328E #8E325A #888E32 #328E66
split-complementary
#38328E #8E6632 #5A8E32
monochromatic
#141233 #262261 #38328E #4A42BB #746ECC

Accessibility & contrast

On white

10.42
#38328E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#38328E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38328E
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38328E#FFFFFF#000000##FFFFFF
##38328E1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #38328e;
/* rgb */ color: rgb(56, 50, 142);
/* oklch */ color: oklch(38.3% 0.147 279.8);
Tailwind
colors: {
  custom: {
    50: '#786ab0',
    500: '#38328e',
    950: '#000000',
  },
}
SCSS
$custom: #38328e;
$custom-light: #786ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#38328e",
  "rgb": {
    "r": 56,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 243.913,
    "s": 47.917,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38302,
    "c": 0.14683,
    "h": 279.8
  },
  "luminance": 0.05075
}

Semantic roles & 50–950 ramp

primary
#38328E
secondary
#AFB468
accent
#D850CF
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #38328E

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

Preview Lab → · Contrast checker → · Palette generator →

#38328E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva