#38329C#38329C

#38329C is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.6% C 0.166 H 278.2°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#38329C
RGBrgb(56, 50, 156)
HSLhsl(243, 51%, 40%)
HSVhsv(243, 68%, 61%)
CMYKcmyk(64.1%, 67.9%, 0%, 38.8%)
CIE-LABlab(28.17, 35.54, -56.88)
CIE-LCHlch(28.17, 67.07, 302.00°)
OKLaboklab(39.57% 0.0235 -0.164)
OKLCHoklch(39.57% 0.166 278.2)
XYZxyz(8.7703, 5.5216, 32.0496)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38329C #969C32
analogous
#32619C #38329C #6D329C
triadic
#38329C #9C3832 #329C38
tetradic
#38329C #9C3261 #969C32 #329C6D
square
#38329C #9C3261 #969C32 #329C6D
split-complementary
#38329C #9C6D32 #619C32
monochromatic
#17143F #27236E #38329C #4E47C4 #7B75D3

Accessibility & contrast

On white

9.98
#38329C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#38329C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38329C
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38329C#FFFFFF#000000##FFFFFF
##38329C1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #38329c;
/* rgb */ color: rgb(56, 50, 156);
/* oklch */ color: oklch(39.6% 0.166 278.2);
Tailwind
colors: {
  custom: {
    50: '#7b6bba',
    500: '#38329c',
    950: '#000000',
  },
}
SCSS
$custom: #38329c;
$custom-light: #7b6bba;
$custom-dark: #000000;
JSON
{
  "hex": "#38329c",
  "rgb": {
    "r": 56,
    "g": 50,
    "b": 156
  },
  "hsl": {
    "h": 243.396,
    "s": 51.456,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39572,
    "c": 0.16569,
    "h": 278.2
  },
  "luminance": 0.05522
}

Semantic roles & 50–950 ramp

primary
#38329C
secondary
#B7BB6F
accent
#DB4DD3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #38329C

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

Preview Lab → · Contrast checker → · Palette generator →

#38329C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva