#38378F#38378F

#38378F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.142 H 278.2°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#38378F
RGBrgb(56, 55, 143)
HSLhsl(241, 44%, 39%)
HSVhsv(241, 62%, 56%)
CMYKcmyk(60.8%, 61.5%, 0%, 43.9%)
CIE-LABlab(28.26, 27.91, -48.77)
CIE-LCHlch(28.26, 56.19, 299.78°)
OKLaboklab(39.29% 0.0201 -0.1402)
OKLCHoklch(39.29% 0.142 278.2)
XYZxyz(7.9534, 5.5557, 26.6345)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38378F #8E8F37
analogous
#37628F #38378F #64378F
triadic
#38378F #8F3837 #378F38
tetradic
#38378F #8F3762 #8E8F37 #378F64
square
#38378F #8F3762 #8E8F37 #378F64
split-complementary
#38378F #8F6437 #628F37
monochromatic
#151537 #272663 #38378F #4B4AB9 #7776CA

Accessibility & contrast

On white

9.95
#38378F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38378F
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38378F#FFFFFF#000000##FFFFFF
##38378F1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#004C5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #38378f;
/* rgb */ color: rgb(56, 55, 143);
/* oklch */ color: oklch(39.3% 0.142 278.2);
Tailwind
colors: {
  custom: {
    50: '#786eb0',
    500: '#38378f',
    950: '#000000',
  },
}
SCSS
$custom: #38378f;
$custom-light: #786eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#38378f",
  "rgb": {
    "r": 56,
    "g": 55,
    "b": 143
  },
  "hsl": {
    "h": 240.682,
    "s": 44.444,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39293,
    "c": 0.1416,
    "h": 278.2
  },
  "luminance": 0.05556
}

Semantic roles & 50–950 ramp

primary
#38378F
secondary
#B2B36F
accent
#D454D3
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #38378F

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

Preview Lab → · Contrast checker → · Palette generator →

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