#38378D#38378D

#38378D is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.139 H 278.4°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#38378D
RGBrgb(56, 55, 141)
HSLhsl(241, 44%, 38%)
HSVhsv(241, 61%, 55%)
CMYKcmyk(60.3%, 61%, 0%, 44.7%)
CIE-LABlab(28.10, 27.21, -47.79)
CIE-LCHlch(28.10, 55.00, 299.66°)
OKLaboklab(39.13% 0.0202 -0.1373)
OKLCHoklch(39.13% 0.139 278.4)
XYZxyz(7.8033, 5.4957, 25.8437)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38378D #8C8D37
analogous
#37618D #38378D #63378D
triadic
#38378D #8D3837 #378D38
tetradic
#38378D #8D3761 #8C8D37 #378D63
square
#38378D #8D3761 #8C8D37 #378D63
split-complementary
#38378D #8D6337 #618D37
monochromatic
#151535 #272661 #38378D #4A49B8 #7675C9

Accessibility & contrast

On white

10.00
#38378D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#38378D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38378D
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38378D#FFFFFF#000000##FFFFFF
##38378D1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #38378d;
/* rgb */ color: rgb(56, 55, 141);
/* oklch */ color: oklch(39.1% 0.139 278.4);
Tailwind
colors: {
  custom: {
    50: '#786eaf',
    500: '#38378d',
    950: '#000000',
  },
}
SCSS
$custom: #38378d;
$custom-light: #786eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#38378d",
  "rgb": {
    "r": 56,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 240.698,
    "s": 43.878,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39125,
    "c": 0.13877,
    "h": 278.4
  },
  "luminance": 0.05496
}

Semantic roles & 50–950 ramp

primary
#38378D
secondary
#B1B26E
accent
#D454D2
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #38378D

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

Preview Lab → · Contrast checker → · Palette generator →

#38378D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva