#38389A#38389A

#38389A is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.4% C 0.156 H 276.9°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#38389A
RGBrgb(56, 56, 154)
HSLhsl(240, 47%, 41%)
HSVhsv(240, 64%, 60%)
CMYKcmyk(63.6%, 63.6%, 0%, 39.6%)
CIE-LABlab(29.42, 31.08, -53.63)
CIE-LCHlch(29.42, 61.99, 300.10°)
OKLaboklab(40.42% 0.0186 -0.1544)
OKLCHoklch(40.42% 0.156 276.9)
XYZxyz(8.8759, 6.0015, 31.2562)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38389A #9A9A38
analogous
#38699A #38389A #69389A
triadic
#38389A #9A3838 #389A38
tetradic
#38389A #9A3869 #9A9A38 #389A69
square
#38389A #9A3869 #9A9A38 #389A69
split-complementary
#38389A #9A6938 #699A38
monochromatic
#171740 #28286D #38389A #5050BF #7D7DD0

Accessibility & contrast

On white

9.54
#38389A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#38389A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38389A
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38389A#FFFFFF#000000##FFFFFF
##38389A1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#004198
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #38389a;
/* rgb */ color: rgb(56, 56, 154);
/* oklch */ color: oklch(40.4% 0.156 276.9);
Tailwind
colors: {
  custom: {
    50: '#7a6fb9',
    500: '#38389a',
    950: '#000000',
  },
}
SCSS
$custom: #38389a;
$custom-light: #7a6fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#38389a",
  "rgb": {
    "r": 56,
    "g": 56,
    "b": 154
  },
  "hsl": {
    "h": 240,
    "s": 46.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40424,
    "c": 0.15556,
    "h": 276.9
  },
  "luminance": 0.06002
}

Semantic roles & 50–950 ramp

primary
#38389A
secondary
#B9B975
accent
#D651D6
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #38389A

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

Preview Lab → · Contrast checker → · Palette generator →

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