#38405B#38405B

#38405B is a dark, muted blue. Relative luminance 0.053; OKLCH L 37.6% C 0.048 H 271.3°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#38405B
RGBrgb(56, 64, 91)
HSLhsl(226, 24%, 29%)
HSVhsv(226, 38%, 36%)
CMYKcmyk(38.5%, 29.7%, 0%, 64.3%)
CIE-LABlab(27.47, 4.27, -17.14)
CIE-LCHlch(27.47, 17.67, 284.00°)
OKLaboklab(37.62% 0.0011 -0.0476)
OKLCHoklch(37.62% 0.048 271.3)
XYZxyz(5.3521, 5.2627, 10.6293)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38405B #5B5338
analogous
#38525B #38405B #42385B
triadic
#38405B #5B3840 #405B38
tetradic
#38405B #5B3852 #5B5338 #385B42
square
#38405B #5B3852 #5B5338 #385B42
split-complementary
#38405B #5B4238 #525B38
monochromatic
#0C0D13 #212535 #38405B #4F5B81 #6A77A3

Accessibility & contrast

On white

10.23
#38405B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#38405B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38405B
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38405B#FFFFFF#000000##FFFFFF
##38405B1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37425C
Deuteranopia (green-blind)
#34405A
Tritanopia (blue-blind)
#2E4549
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #38405b;
/* rgb */ color: rgb(56, 64, 91);
/* oklch */ color: oklch(37.6% 0.048 271.3);
Tailwind
colors: {
  custom: {
    50: '#707489',
    500: '#38405b',
    950: '#000000',
  },
}
SCSS
$custom: #38405b;
$custom-light: #707489;
$custom-dark: #000000;
JSON
{
  "hex": "#38405b",
  "rgb": {
    "r": 56,
    "g": 64,
    "b": 91
  },
  "hsl": {
    "h": 226.286,
    "s": 23.81,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37624,
    "c": 0.04765,
    "h": 271.3
  },
  "luminance": 0.05263
}

Semantic roles & 50–950 ramp

primary
#38405B
secondary
#8B8264
accent
#AC68C0
background
#F6F7F8
surface
#ECEDF0
border
#C7C8CB
text
#07080B
muted
#7A7B7C

Preview Lab

Preview with #38405B

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

Preview Lab → · Contrast checker → · Palette generator →

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