#38409C#38409C

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

Color values

HEX#38409C
RGBrgb(56, 64, 156)
HSLhsl(235, 47%, 42%)
HSVhsv(235, 64%, 61%)
CMYKcmyk(64.1%, 59%, 0%, 38.8%)
CIE-LABlab(31.59, 26.59, -51.30)
CIE-LCHlch(31.59, 57.78, 297.40°)
OKLaboklab(42.08% 0.0113 -0.1475)
OKLCHoklch(42.08% 0.148 274.4)
XYZxyz(9.4631, 6.9071, 32.2806)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38409C #9C9438
analogous
#38729C #38409C #62389C
triadic
#38409C #9C3840 #409C38
tetradic
#38409C #9C3872 #9C9438 #389C62
square
#38409C #9C3872 #9C9438 #389C62
split-complementary
#38409C #9C6238 #729C38
monochromatic
#181B42 #282E6F #38409C #515AC0 #7E84D1

Accessibility & contrast

On white

8.82
#38409C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#38409C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38409C
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38409C#FFFFFF#000000##FFFFFF
##38409C1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#00469A
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #38409c;
/* rgb */ color: rgb(56, 64, 156);
/* oklch */ color: oklch(42.1% 0.148 274.4);
Tailwind
colors: {
  custom: {
    50: '#7a74ba',
    500: '#38409c',
    950: '#000000',
  },
}
SCSS
$custom: #38409c;
$custom-light: #7a74ba;
$custom-dark: #000000;
JSON
{
  "hex": "#38409c",
  "rgb": {
    "r": 56,
    "g": 64,
    "b": 156
  },
  "hsl": {
    "h": 235.2,
    "s": 47.17,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42082,
    "c": 0.14796,
    "h": 274.4
  },
  "luminance": 0.06908
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #38409C

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

Preview Lab → · Contrast checker → · Palette generator →

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