#38409B#38409B

#38409B is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.0% C 0.147 H 274.4°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#38409B
RGBrgb(56, 64, 155)
HSLhsl(235, 47%, 41%)
HSVhsv(235, 64%, 61%)
CMYKcmyk(63.9%, 58.7%, 0%, 39.2%)
CIE-LABlab(31.52, 26.24, -50.82)
CIE-LCHlch(31.52, 57.19, 297.31°)
OKLaboklab(42% 0.0112 -0.1461)
OKLCHoklch(42% 0.147 274.4)
XYZxyz(9.3787, 6.8733, 31.8364)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38409B #9B9338
analogous
#38729B #38409B #62389B
triadic
#38409B #9B3840 #409B38
tetradic
#38409B #9B3872 #9B9338 #389B62
square
#38409B #9B3872 #9B9338 #389B62
split-complementary
#38409B #9B6238 #729B38
monochromatic
#181B41 #282D6E #38409B #5059C0 #7D84D0

Accessibility & contrast

On white

8.84
#38409B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#38409B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38409B
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38409B#FFFFFF#000000##FFFFFF
##38409B1.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #38409b;
/* rgb */ color: rgb(56, 64, 155);
/* oklch */ color: oklch(42.0% 0.147 274.4);
Tailwind
colors: {
  custom: {
    50: '#7a74b9',
    500: '#38409b',
    950: '#000000',
  },
}
SCSS
$custom: #38409b;
$custom-light: #7a74b9;
$custom-dark: #000000;
JSON
{
  "hex": "#38409b",
  "rgb": {
    "r": 56,
    "g": 64,
    "b": 155
  },
  "hsl": {
    "h": 235.152,
    "s": 46.919,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42,
    "c": 0.14655,
    "h": 274.4
  },
  "luminance": 0.06874
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #38409B

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

Preview Lab → · Contrast checker → · Palette generator →

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