#38476A#38476A

#38476A is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.1% C 0.062 H 265.9°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#38476A
RGBrgb(56, 71, 106)
HSLhsl(222, 31%, 32%)
HSVhsv(222, 47%, 42%)
CMYKcmyk(47.2%, 33%, 0%, 58.4%)
CIE-LABlab(30.37, 4.44, -22.24)
CIE-LCHlch(30.37, 22.68, 281.29°)
OKLaboklab(40.12% -0.0044 -0.0623)
OKLCHoklch(40.12% 0.062 265.9)
XYZxyz(6.4848, 6.3875, 14.5241)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38476A #6A5B38
analogous
#38606A #38476A #42386A
triadic
#38476A #6A3847 #476A38
tetradic
#38476A #6A3860 #6A5B38 #386A42
square
#38476A #6A3860 #6A5B38 #386A42
split-complementary
#38476A #6A4238 #606A38
monochromatic
#0E111A #232C42 #38476A #4D6292 #6B80B1

Accessibility & contrast

On white

9.22
#38476A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#38476A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38476A
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38476A#FFFFFF#000000##FFFFFF
##38476A1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4A6B
Deuteranopia (green-blind)
#354569
Tritanopia (blue-blind)
#264E53
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #38476a;
/* rgb */ color: rgb(56, 71, 106);
/* oklch */ color: oklch(40.1% 0.062 265.9);
Tailwind
colors: {
  custom: {
    50: '#717a94',
    500: '#38476a',
    950: '#000000',
  },
}
SCSS
$custom: #38476a;
$custom-light: #717a94;
$custom-dark: #000000;
JSON
{
  "hex": "#38476a",
  "rgb": {
    "r": 56,
    "g": 71,
    "b": 106
  },
  "hsl": {
    "h": 222,
    "s": 30.864,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4012,
    "c": 0.06248,
    "h": 265.9
  },
  "luminance": 0.06388
}

Semantic roles & 50–950 ramp

primary
#38476A
secondary
#9A8A63
accent
#A861C7
background
#F7F7F9
surface
#EDEDF1
border
#C8C8CB
text
#08090D
muted
#7B7B7E

Preview Lab

Preview with #38476A

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

Preview Lab → · Contrast checker → · Palette generator →

#38476A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva