#38379B#38379B

#38379B is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.3% C 0.158 H 277.1°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#38379B
RGBrgb(56, 55, 155)
HSLhsl(241, 48%, 41%)
HSVhsv(241, 65%, 61%)
CMYKcmyk(63.9%, 64.5%, 0%, 39.2%)
CIE-LABlab(29.26, 32.07, -54.50)
CIE-LCHlch(29.26, 63.23, 300.48°)
OKLaboklab(40.34% 0.0194 -0.157)
OKLCHoklch(40.34% 0.158 277.1)
XYZxyz(8.9116, 5.9390, 31.6807)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38379B #9A9B37
analogous
#37689B #38379B #6A379B
triadic
#38379B #9B3837 #379B38
tetradic
#38379B #9B3768 #9A9B37 #379B6A
square
#38379B #9B3768 #9A9B37 #379B6A
split-complementary
#38379B #9B6A37 #689B37
monochromatic
#171741 #28276E #38379B #504FC0 #7D7CD0

Accessibility & contrast

On white

9.60
#38379B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#38379B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38379B
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38379B#FFFFFF#000000##FFFFFF
##38379B1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #38379b;
/* rgb */ color: rgb(56, 55, 155);
/* oklch */ color: oklch(40.3% 0.158 277.1);
Tailwind
colors: {
  custom: {
    50: '#7a6eb9',
    500: '#38379b',
    950: '#000000',
  },
}
SCSS
$custom: #38379b;
$custom-light: #7a6eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#38379b",
  "rgb": {
    "r": 56,
    "g": 55,
    "b": 155
  },
  "hsl": {
    "h": 240.6,
    "s": 47.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40335,
    "c": 0.1582,
    "h": 277.1
  },
  "luminance": 0.0594
}

Semantic roles & 50–950 ramp

primary
#38379B
secondary
#B9BA74
accent
#D751D6
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #38379B

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

Preview Lab → · Contrast checker → · Palette generator →

#38379B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva