#38409A#38409A

#38409A is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.9% C 0.145 H 274.4°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#38409A
RGBrgb(56, 64, 154)
HSLhsl(235, 47%, 41%)
HSVhsv(235, 64%, 60%)
CMYKcmyk(63.6%, 58.4%, 0%, 39.6%)
CIE-LABlab(31.44, 25.88, -50.34)
CIE-LCHlch(31.44, 56.60, 297.21°)
OKLaboklab(41.92% 0.0112 -0.1447)
OKLCHoklch(41.92% 0.145 274.4)
XYZxyz(9.2951, 6.8399, 31.3960)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38409A #9A9238
analogous
#38719A #38409A #61389A
triadic
#38409A #9A3840 #409A38
tetradic
#38409A #9A3871 #9A9238 #389A61
square
#38409A #9A3871 #9A9238 #389A61
split-complementary
#38409A #9A6138 #719A38
monochromatic
#171B40 #282D6D #38409A #5059BF #7D84D0

Accessibility & contrast

On white

8.87
#38409A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38409A
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38409A#FFFFFF#000000##FFFFFF
##38409A1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#004698
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #38409a;
/* rgb */ color: rgb(56, 64, 154);
/* oklch */ color: oklch(41.9% 0.145 274.4);
Tailwind
colors: {
  custom: {
    50: '#7974b8',
    500: '#38409a',
    950: '#000000',
  },
}
SCSS
$custom: #38409a;
$custom-light: #7974b8;
$custom-dark: #000000;
JSON
{
  "hex": "#38409a",
  "rgb": {
    "r": 56,
    "g": 64,
    "b": 154
  },
  "hsl": {
    "h": 235.102,
    "s": 46.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41918,
    "c": 0.14514,
    "h": 274.4
  },
  "luminance": 0.06841
}

Semantic roles & 50–950 ramp

primary
#38409A
secondary
#B9B375
accent
#CB51D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #38409A

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

Preview Lab → · Contrast checker → · Palette generator →

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