#38389F#38389F

#38389F is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.9% C 0.162 H 276.5°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#38389F
RGBrgb(56, 56, 159)
HSLhsl(240, 48%, 42%)
HSVhsv(240, 65%, 62%)
CMYKcmyk(64.8%, 64.8%, 0%, 37.6%)
CIE-LABlab(29.84, 32.82, -55.98)
CIE-LCHlch(29.84, 64.89, 300.38°)
OKLaboklab(40.87% 0.0183 -0.1613)
OKLCHoklch(40.87% 0.162 276.5)
XYZxyz(9.3010, 6.1715, 33.4952)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38389F #9F9F38
analogous
#386C9F #38389F #6C389F
triadic
#38389F #9F3838 #389F38
tetradic
#38389F #9F386C #9F9F38 #389F6C
square
#38389F #9F386C #9F9F38 #389F6C
split-complementary
#38389F #9F6C38 #6C9F38
monochromatic
#181844 #282872 #38389F #5252C2 #7F7FD2

Accessibility & contrast

On white

9.40
#38389F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#38389F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38389F
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38389F#FFFFFF#000000##FFFFFF
##38389F1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#005266
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #38389f;
/* rgb */ color: rgb(56, 56, 159);
/* oklch */ color: oklch(40.9% 0.162 276.5);
Tailwind
colors: {
  custom: {
    50: '#7b6fbc',
    500: '#38389f',
    950: '#000000',
  },
}
SCSS
$custom: #38389f;
$custom-light: #7b6fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#38389f",
  "rgb": {
    "r": 56,
    "g": 56,
    "b": 159
  },
  "hsl": {
    "h": 240,
    "s": 47.907,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40867,
    "c": 0.16236,
    "h": 276.5
  },
  "luminance": 0.06172
}

Semantic roles & 50–950 ramp

primary
#38389F
secondary
#BBBB77
accent
#D750D7
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #38389F

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

Preview Lab → · Contrast checker → · Palette generator →

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