#383AB9#383AB9

#383AB9 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.6% C 0.194 H 274.2°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#383AB9
RGBrgb(56, 58, 185)
HSLhsl(239, 54%, 47%)
HSVhsv(239, 70%, 73%)
CMYKcmyk(69.7%, 68.6%, 0%, 27.5%)
CIE-LABlab(32.63, 40.50, -66.96)
CIE-LCHlch(32.63, 78.26, 301.17°)
OKLaboklab(43.61% 0.0141 -0.1935)
OKLCHoklch(43.61% 0.194 274.2)
XYZxyz(11.8980, 7.3685, 46.6848)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383AB9 #B9B738
analogous
#387AB9 #383AB9 #7738B9
triadic
#383AB9 #B9383A #3AB938
tetradic
#383AB9 #B9387A #B9B738 #38B977
square
#383AB9 #B9387A #B9B738 #38B977
split-complementary
#383AB9 #B97738 #7AB938
monochromatic
#1C1D5B #2A2B8A #383AB9 #5F61CF #8E90DD

Accessibility & contrast

On white

8.49
#383AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#383AB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383AB9
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383AB9#FFFFFF#000000##FFFFFF
##383AB91.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#0047B7
Tritanopia (blue-blind)
#005C75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #383ab9;
/* rgb */ color: rgb(56, 58, 185);
/* oklch */ color: oklch(43.6% 0.194 274.2);
Tailwind
colors: {
  custom: {
    50: '#8071cf',
    500: '#383ab9',
    950: '#000000',
  },
}
SCSS
$custom: #383ab9;
$custom-light: #8071cf;
$custom-dark: #000000;
JSON
{
  "hex": "#383ab9",
  "rgb": {
    "r": 56,
    "g": 58,
    "b": 185
  },
  "hsl": {
    "h": 239.07,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.43608,
    "c": 0.19402,
    "h": 274.2
  },
  "luminance": 0.0737
}

Semantic roles & 50–950 ramp

primary
#383AB9
secondary
#C8C785
accent
#DB4BDD
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #383AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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