#38379D#38379D

#38379D is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.5% C 0.161 H 276.9°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#38379D
RGBrgb(56, 55, 157)
HSLhsl(241, 48%, 42%)
HSVhsv(241, 65%, 62%)
CMYKcmyk(64.3%, 65%, 0%, 38.4%)
CIE-LABlab(29.43, 32.76, -55.43)
CIE-LCHlch(29.43, 64.39, 300.58°)
OKLaboklab(40.51% 0.0193 -0.1597)
OKLCHoklch(40.51% 0.161 276.9)
XYZxyz(9.0809, 6.0067, 32.5726)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38379D #9C9D37
analogous
#37699D #38379D #6B379D
triadic
#38379D #9D3837 #379D38
tetradic
#38379D #9D3769 #9C9D37 #379D6B
square
#38379D #9D3769 #9C9D37 #379D6B
split-complementary
#38379D #9D6B37 #699D37
monochromatic
#181742 #282770 #38379D #5150C2 #7E7DD1

Accessibility & contrast

On white

9.54
#38379D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#38379D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38379D
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38379D#FFFFFF#000000##FFFFFF
##38379D1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#005165
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #38379d;
/* rgb */ color: rgb(56, 55, 157);
/* oklch */ color: oklch(40.5% 0.161 276.9);
Tailwind
colors: {
  custom: {
    50: '#7b6ebb',
    500: '#38379d',
    950: '#000000',
  },
}
SCSS
$custom: #38379d;
$custom-light: #7b6ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#38379d",
  "rgb": {
    "r": 56,
    "g": 55,
    "b": 157
  },
  "hsl": {
    "h": 240.588,
    "s": 48.113,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40513,
    "c": 0.16091,
    "h": 276.9
  },
  "luminance": 0.06007
}

Semantic roles & 50–950 ramp

primary
#38379D
secondary
#BABB75
accent
#D850D6
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #38379D

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

Preview Lab → · Contrast checker → · Palette generator →

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