#383A90#383A90

#383A90 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.139 H 277.1°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#383A90
RGBrgb(56, 58, 144)
HSLhsl(239, 44%, 39%)
HSVhsv(239, 61%, 56%)
CMYKcmyk(61.1%, 59.7%, 0%, 43.5%)
CIE-LABlab(29.11, 26.29, -48.01)
CIE-LCHlch(29.11, 54.74, 298.71°)
OKLaboklab(39.94% 0.0171 -0.1379)
OKLCHoklch(39.94% 0.139 277.1)
XYZxyz(8.1764, 5.8799, 27.0842)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383A90 #908E38
analogous
#386690 #383A90 #623890
triadic
#383A90 #90383A #3A9038
tetradic
#383A90 #903866 #908E38 #389062
square
#383A90 #903866 #908E38 #389062
split-complementary
#383A90 #906238 #669038
monochromatic
#161738 #272864 #383A90 #4C4EB9 #787ACA

Accessibility & contrast

On white

9.65
#383A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#383A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383A90
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383A90#FFFFFF#000000##FFFFFF
##383A901.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #383a90;
/* rgb */ color: rgb(56, 58, 144);
/* oklch */ color: oklch(39.9% 0.139 277.1);
Tailwind
colors: {
  custom: {
    50: '#7870b1',
    500: '#383a90',
    950: '#000000',
  },
}
SCSS
$custom: #383a90;
$custom-light: #7870b1;
$custom-dark: #000000;
JSON
{
  "hex": "#383a90",
  "rgb": {
    "r": 56,
    "g": 58,
    "b": 144
  },
  "hsl": {
    "h": 238.636,
    "s": 44,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39942,
    "c": 0.13897,
    "h": 277.1
  },
  "luminance": 0.0588
}

Semantic roles & 50–950 ramp

primary
#383A90
secondary
#B4B270
accent
#D154D4
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #383A90

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

Preview Lab → · Contrast checker → · Palette generator →

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