#38378E#38378E

#38378E is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.140 H 278.3°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#38378E
RGBrgb(56, 55, 142)
HSLhsl(241, 44%, 39%)
HSVhsv(241, 61%, 56%)
CMYKcmyk(60.6%, 61.3%, 0%, 44.3%)
CIE-LABlab(28.18, 27.56, -48.28)
CIE-LCHlch(28.18, 55.59, 299.72°)
OKLaboklab(39.21% 0.0201 -0.1387)
OKLCHoklch(39.21% 0.14 278.3)
XYZxyz(7.8780, 5.5256, 26.2373)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38378E #8D8E37
analogous
#37618E #38378E #63378E
triadic
#38378E #8E3837 #378E38
tetradic
#38378E #8E3761 #8D8E37 #378E63
square
#38378E #8E3761 #8D8E37 #378E63
split-complementary
#38378E #8E6337 #618E37
monochromatic
#151536 #272662 #38378E #4B49B9 #7776CA

Accessibility & contrast

On white

9.98
#38378E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#38378E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38378E
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38378E#FFFFFF#000000##FFFFFF
##38378E1.009.982.119.98
#FFFFFF9.981.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#004C5D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #38378e;
/* rgb */ color: rgb(56, 55, 142);
/* oklch */ color: oklch(39.2% 0.140 278.3);
Tailwind
colors: {
  custom: {
    50: '#786eb0',
    500: '#38378e',
    950: '#000000',
  },
}
SCSS
$custom: #38378e;
$custom-light: #786eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#38378e",
  "rgb": {
    "r": 56,
    "g": 55,
    "b": 142
  },
  "hsl": {
    "h": 240.69,
    "s": 44.162,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39209,
    "c": 0.14018,
    "h": 278.3
  },
  "luminance": 0.05526
}

Semantic roles & 50–950 ramp

primary
#38378E
secondary
#B2B36E
accent
#D454D2
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #38378E

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

Preview Lab → · Contrast checker → · Palette generator →

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