#383A8A#383A8A

#383A8A is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.130 H 277.5°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#383A8A
RGBrgb(56, 58, 138)
HSLhsl(239, 42%, 38%)
HSVhsv(239, 59%, 54%)
CMYKcmyk(59.4%, 58%, 0%, 45.9%)
CIE-LABlab(28.65, 24.19, -45.05)
CIE-LCHlch(28.65, 51.14, 298.23°)
OKLaboklab(39.45% 0.0171 -0.1292)
OKLCHoklch(39.45% 0.13 277.5)
XYZxyz(7.7299, 5.7013, 24.7330)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383A8A #8A8838
analogous
#38638A #383A8A #5F388A
triadic
#383A8A #8A383A #3A8A38
tetradic
#383A8A #8A3863 #8A8838 #388A5F
square
#383A8A #8A3863 #8A8838 #388A5F
split-complementary
#383A8A #8A5F38 #638A38
monochromatic
#151533 #26285E #383A8A #4A4CB5 #7577C7

Accessibility & contrast

On white

9.81
#383A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#383A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383A8A
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383A8A#FFFFFF#000000##FFFFFF
##383A8A1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#034D5C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #383a8a;
/* rgb */ color: rgb(56, 58, 138);
/* oklch */ color: oklch(39.5% 0.130 277.5);
Tailwind
colors: {
  custom: {
    50: '#7770ad',
    500: '#383a8a',
    950: '#000000',
  },
}
SCSS
$custom: #383a8a;
$custom-light: #7770ad;
$custom-dark: #000000;
JSON
{
  "hex": "#383a8a",
  "rgb": {
    "r": 56,
    "g": 58,
    "b": 138
  },
  "hsl": {
    "h": 238.537,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39454,
    "c": 0.13034,
    "h": 277.5
  },
  "luminance": 0.05702
}

Semantic roles & 50–950 ramp

primary
#383A8A
secondary
#B0AE6E
accent
#CF56D2
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #383A8A

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

Preview Lab → · Contrast checker → · Palette generator →

#383A8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva