#38388D#38388D

#38388D is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.137 H 278.0°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#38388D
RGBrgb(56, 56, 141)
HSLhsl(240, 43%, 39%)
HSVhsv(240, 60%, 55%)
CMYKcmyk(60.3%, 60.3%, 0%, 44.7%)
CIE-LABlab(28.36, 26.56, -47.38)
CIE-LCHlch(28.36, 54.31, 299.27°)
OKLaboklab(39.31% 0.0192 -0.1361)
OKLCHoklch(39.31% 0.137 278)
XYZxyz(7.8512, 5.5916, 25.8597)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38388D #8D8D38
analogous
#38628D #38388D #62388D
triadic
#38388D #8D3838 #388D38
tetradic
#38388D #8D3862 #8D8D38 #388D62
square
#38388D #8D3862 #8D8D38 #388D62
split-complementary
#38388D #8D6238 #628D38
monochromatic
#151535 #272761 #38388D #4B4BB7 #7777C9

Accessibility & contrast

On white

9.91
#38388D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#38388D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38388D
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38388D#FFFFFF#000000##FFFFFF
##38388D1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38388d;
/* rgb */ color: rgb(56, 56, 141);
/* oklch */ color: oklch(39.3% 0.137 278.0);
Tailwind
colors: {
  custom: {
    50: '#786eaf',
    500: '#38388d',
    950: '#000000',
  },
}
SCSS
$custom: #38388d;
$custom-light: #786eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#38388d",
  "rgb": {
    "r": 56,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 240,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39314,
    "c": 0.13741,
    "h": 278
  },
  "luminance": 0.05592
}

Semantic roles & 50–950 ramp

primary
#38388D
secondary
#B2B26F
accent
#D355D3
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #38388D

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

Preview Lab → · Contrast checker → · Palette generator →

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