#38379F#38379F

#38379F is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.7% C 0.164 H 276.7°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#38379F
RGBrgb(56, 55, 159)
HSLhsl(241, 49%, 42%)
HSVhsv(241, 65%, 62%)
CMYKcmyk(64.8%, 65.4%, 0%, 37.6%)
CIE-LABlab(29.60, 33.45, -56.37)
CIE-LCHlch(29.60, 65.54, 300.69°)
OKLaboklab(40.69% 0.0191 -0.1625)
OKLCHoklch(40.69% 0.164 276.7)
XYZxyz(9.2530, 6.0756, 33.4793)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38379F #9E9F37
analogous
#376A9F #38379F #6C379F
triadic
#38379F #9F3837 #379F38
tetradic
#38379F #9F376A #9E9F37 #379F6C
square
#38379F #9F376A #9E9F37 #379F6C
split-complementary
#38379F #9F6C37 #6A9F37
monochromatic
#181844 #282772 #38379F #5251C3 #7F7ED2

Accessibility & contrast

On white

9.48
#38379F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#38379F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38379F
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38379F#FFFFFF#000000##FFFFFF
##38379F1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#005266
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #38379f;
/* rgb */ color: rgb(56, 55, 159);
/* oklch */ color: oklch(40.7% 0.164 276.7);
Tailwind
colors: {
  custom: {
    50: '#7b6ebc',
    500: '#38379f',
    950: '#000000',
  },
}
SCSS
$custom: #38379f;
$custom-light: #7b6ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#38379f",
  "rgb": {
    "r": 56,
    "g": 55,
    "b": 159
  },
  "hsl": {
    "h": 240.577,
    "s": 48.598,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40693,
    "c": 0.1636,
    "h": 276.7
  },
  "luminance": 0.06076
}

Semantic roles & 50–950 ramp

primary
#38379F
secondary
#BBBC76
accent
#D850D7
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #38379F

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

Preview Lab → · Contrast checker → · Palette generator →

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