#38389C#38389C

#38389C is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.6% C 0.158 H 276.7°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#38389C
RGBrgb(56, 56, 156)
HSLhsl(240, 47%, 42%)
HSVhsv(240, 64%, 61%)
CMYKcmyk(64.1%, 64.1%, 0%, 38.8%)
CIE-LABlab(29.59, 31.78, -54.57)
CIE-LCHlch(29.59, 63.15, 300.21°)
OKLaboklab(40.6% 0.0185 -0.1572)
OKLCHoklch(40.6% 0.158 276.7)
XYZxyz(9.0439, 6.0687, 32.1408)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38389C #9C9C38
analogous
#386A9C #38389C #6A389C
triadic
#38389C #9C3838 #389C38
tetradic
#38389C #9C386A #9C9C38 #389C6A
square
#38389C #9C386A #9C9C38 #389C6A
split-complementary
#38389C #9C6A38 #6A9C38
monochromatic
#181842 #28286F #38389C #5151C0 #7E7ED1

Accessibility & contrast

On white

9.49
#38389C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#38389C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38389C
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38389C#FFFFFF#000000##FFFFFF
##38389C1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #38389c;
/* rgb */ color: rgb(56, 56, 156);
/* oklch */ color: oklch(40.6% 0.158 276.7);
Tailwind
colors: {
  custom: {
    50: '#7a6fba',
    500: '#38389c',
    950: '#000000',
  },
}
SCSS
$custom: #38389c;
$custom-light: #7a6fba;
$custom-dark: #000000;
JSON
{
  "hex": "#38389c",
  "rgb": {
    "r": 56,
    "g": 56,
    "b": 156
  },
  "hsl": {
    "h": 240,
    "s": 47.17,
    "l": 41.569
  },
  "oklch": {
    "l": 0.406,
    "c": 0.15829,
    "h": 276.7
  },
  "luminance": 0.06069
}

Semantic roles & 50–950 ramp

primary
#38389C
secondary
#BABA76
accent
#D751D7
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #38389C

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

Preview Lab → · Contrast checker → · Palette generator →

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