#38329A#38329A

#38329A is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.4% C 0.163 H 278.4°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#38329A
RGBrgb(56, 50, 154)
HSLhsl(243, 51%, 40%)
HSVhsv(243, 68%, 60%)
CMYKcmyk(63.6%, 67.5%, 0%, 39.6%)
CIE-LABlab(27.99, 34.87, -55.96)
CIE-LCHlch(27.99, 65.93, 301.93°)
OKLaboklab(39.39% 0.0238 -0.1613)
OKLCHoklch(39.39% 0.163 278.4)
XYZxyz(8.6024, 5.4544, 31.1651)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38329A #949A32
analogous
#32609A #38329A #6C329A
triadic
#38329A #9A3832 #329A38
tetradic
#38329A #9A3260 #949A32 #329A6C
square
#38329A #9A3260 #949A32 #329A6C
split-complementary
#38329A #9A6C32 #609A32
monochromatic
#16143E #27236C #38329A #4D46C3 #7A74D2

Accessibility & contrast

On white

10.04
#38329A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#38329A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38329A
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38329A#FFFFFF#000000##FFFFFF
##38329A1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#003E98
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #38329a;
/* rgb */ color: rgb(56, 50, 154);
/* oklch */ color: oklch(39.4% 0.163 278.4);
Tailwind
colors: {
  custom: {
    50: '#7b6bb9',
    500: '#38329a',
    950: '#000000',
  },
}
SCSS
$custom: #38329a;
$custom-light: #7b6bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#38329a",
  "rgb": {
    "r": 56,
    "g": 50,
    "b": 154
  },
  "hsl": {
    "h": 243.462,
    "s": 50.98,
    "l": 40
  },
  "oklch": {
    "l": 0.39386,
    "c": 0.16304,
    "h": 278.4
  },
  "luminance": 0.05455
}

Semantic roles & 50–950 ramp

primary
#38329A
secondary
#B6BA6E
accent
#DA4DD2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #38329A

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

Preview Lab → · Contrast checker → · Palette generator →

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