#38389D#38389D

#38389D is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.7% C 0.160 H 276.6°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#38389D
RGBrgb(56, 56, 157)
HSLhsl(240, 47%, 42%)
HSVhsv(240, 64%, 62%)
CMYKcmyk(64.3%, 64.3%, 0%, 38.4%)
CIE-LABlab(29.67, 32.13, -55.04)
CIE-LCHlch(29.67, 63.73, 300.27°)
OKLaboklab(40.69% 0.0184 -0.1586)
OKLCHoklch(40.69% 0.16 276.6)
XYZxyz(9.1289, 6.1027, 32.5886)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38389D #9D9D38
analogous
#386B9D #38389D #6B389D
triadic
#38389D #9D3838 #389D38
tetradic
#38389D #9D386B #9D9D38 #389D6B
square
#38389D #9D386B #9D9D38 #389D6B
split-complementary
#38389D #9D6B38 #6B9D38
monochromatic
#181843 #282870 #38389D #5151C1 #7E7ED1

Accessibility & contrast

On white

9.46
#38389D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#38389D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38389D
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38389D#FFFFFF#000000##FFFFFF
##38389D1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #38389d;
/* rgb */ color: rgb(56, 56, 157);
/* oklch */ color: oklch(40.7% 0.160 276.6);
Tailwind
colors: {
  custom: {
    50: '#7b6fbb',
    500: '#38389d',
    950: '#000000',
  },
}
SCSS
$custom: #38389d;
$custom-light: #7b6fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#38389d",
  "rgb": {
    "r": 56,
    "g": 56,
    "b": 157
  },
  "hsl": {
    "h": 240,
    "s": 47.418,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40689,
    "c": 0.15966,
    "h": 276.6
  },
  "luminance": 0.06103
}

Semantic roles & 50–950 ramp

primary
#38389D
secondary
#BABA76
accent
#D751D7
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #38389D

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

Preview Lab → · Contrast checker → · Palette generator →

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