#38405C#38405C

#38405C is a dark, muted blue. Relative luminance 0.053; OKLCH L 37.7% C 0.049 H 271.6°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#38405C
RGBrgb(56, 64, 92)
HSLhsl(227, 24%, 29%)
HSVhsv(227, 39%, 36%)
CMYKcmyk(39.1%, 30.4%, 0%, 63.9%)
CIE-LABlab(27.52, 4.58, -17.71)
CIE-LCHlch(27.52, 18.30, 284.51°)
OKLaboklab(37.68% 0.0014 -0.0493)
OKLCHoklch(37.68% 0.049 271.6)
XYZxyz(5.3955, 5.2800, 10.8580)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38405C #5C5438
analogous
#38525C #38405C #42385C
triadic
#38405C #5C3840 #405C38
tetradic
#38405C #5C3852 #5C5438 #385C42
square
#38405C #5C3852 #5C5438 #385C42
split-complementary
#38405C #5C4238 #525C38
monochromatic
#0C0D13 #212636 #38405C #4F5A82 #6A77A4

Accessibility & contrast

On white

10.21
#38405C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#38405C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38405C
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38405C#FFFFFF#000000##FFFFFF
##38405C1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37435D
Deuteranopia (green-blind)
#34405B
Tritanopia (blue-blind)
#2D464A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #38405c;
/* rgb */ color: rgb(56, 64, 92);
/* oklch */ color: oklch(37.7% 0.049 271.6);
Tailwind
colors: {
  custom: {
    50: '#70748a',
    500: '#38405c',
    950: '#000000',
  },
}
SCSS
$custom: #38405c;
$custom-light: #70748a;
$custom-dark: #000000;
JSON
{
  "hex": "#38405c",
  "rgb": {
    "r": 56,
    "g": 64,
    "b": 92
  },
  "hsl": {
    "h": 226.667,
    "s": 24.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37677,
    "c": 0.04931,
    "h": 271.6
  },
  "luminance": 0.0528
}

Semantic roles & 50–950 ramp

primary
#38405C
secondary
#8C8363
accent
#AD67C1
background
#F6F7F8
surface
#ECEDF0
border
#C7C8CB
text
#07080B
muted
#7A7B7C

Preview Lab

Preview with #38405C

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

Preview Lab → · Contrast checker → · Palette generator →

#38405C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva