#38409F#38409F

#38409F is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.3% C 0.152 H 274.2°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#38409F
RGBrgb(56, 64, 159)
HSLhsl(235, 48%, 42%)
HSVhsv(235, 65%, 62%)
CMYKcmyk(64.8%, 59.7%, 0%, 37.6%)
CIE-LABlab(31.83, 27.66, -52.73)
CIE-LCHlch(31.83, 59.55, 297.68°)
OKLaboklab(42.33% 0.0112 -0.1517)
OKLCHoklch(42.33% 0.152 274.2)
XYZxyz(9.7202, 7.0099, 33.6350)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38409F #9F9738
analogous
#38749F #38409F #64389F
triadic
#38409F #9F3840 #409F38
tetradic
#38409F #9F3874 #9F9738 #389F64
square
#38409F #9F3874 #9F9738 #389F64
split-complementary
#38409F #9F6438 #749F38
monochromatic
#181C44 #282E72 #38409F #525BC2 #7F86D2

Accessibility & contrast

On white

8.74
#38409F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#38409F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38409F
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38409F#FFFFFF#000000##FFFFFF
##38409F1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #38409f;
/* rgb */ color: rgb(56, 64, 159);
/* oklch */ color: oklch(42.3% 0.152 274.2);
Tailwind
colors: {
  custom: {
    50: '#7a74bc',
    500: '#38409f',
    950: '#000000',
  },
}
SCSS
$custom: #38409f;
$custom-light: #7a74bc;
$custom-dark: #000000;
JSON
{
  "hex": "#38409f",
  "rgb": {
    "r": 56,
    "g": 64,
    "b": 159
  },
  "hsl": {
    "h": 235.34,
    "s": 47.907,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4233,
    "c": 0.15217,
    "h": 274.2
  },
  "luminance": 0.07011
}

Semantic roles & 50–950 ramp

primary
#38409F
secondary
#BBB677
accent
#CD50D7
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #38409F

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

Preview Lab → · Contrast checker → · Palette generator →

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