#38409D#38409D

#38409D is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.2% C 0.149 H 274.3°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#38409D
RGBrgb(56, 64, 157)
HSLhsl(235, 47%, 42%)
HSVhsv(235, 64%, 62%)
CMYKcmyk(64.3%, 59.2%, 0%, 38.4%)
CIE-LABlab(31.67, 26.95, -51.78)
CIE-LCHlch(31.67, 58.37, 297.49°)
OKLaboklab(42.17% 0.0113 -0.1489)
OKLCHoklch(42.17% 0.149 274.3)
XYZxyz(9.5481, 6.9411, 32.7283)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38409D #9D9538
analogous
#38739D #38409D #63389D
triadic
#38409D #9D3840 #409D38
tetradic
#38409D #9D3873 #9D9538 #389D63
square
#38409D #9D3873 #9D9538 #389D63
split-complementary
#38409D #9D6338 #739D38
monochromatic
#181B43 #282E70 #38409D #515AC1 #7E85D1

Accessibility & contrast

On white

8.79
#38409D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#38409D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38409D
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38409D#FFFFFF#000000##FFFFFF
##38409D1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#00469B
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #38409d;
/* rgb */ color: rgb(56, 64, 157);
/* oklch */ color: oklch(42.2% 0.149 274.3);
Tailwind
colors: {
  custom: {
    50: '#7a74bb',
    500: '#38409d',
    950: '#000000',
  },
}
SCSS
$custom: #38409d;
$custom-light: #7a74bb;
$custom-dark: #000000;
JSON
{
  "hex": "#38409d",
  "rgb": {
    "r": 56,
    "g": 64,
    "b": 157
  },
  "hsl": {
    "h": 235.248,
    "s": 47.418,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42165,
    "c": 0.14936,
    "h": 274.3
  },
  "luminance": 0.06942
}

Semantic roles & 50–950 ramp

primary
#38409D
secondary
#BAB576
accent
#CC51D7
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #38409D

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

Preview Lab → · Contrast checker → · Palette generator →

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