#383AB8#383AB8

#383AB8 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.5% C 0.193 H 274.2°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#383AB8
RGBrgb(56, 58, 184)
HSLhsl(239, 53%, 47%)
HSVhsv(239, 70%, 72%)
CMYKcmyk(69.6%, 68.5%, 0%, 27.8%)
CIE-LABlab(32.54, 40.16, -66.53)
CIE-LCHlch(32.54, 77.71, 301.12°)
OKLaboklab(43.51% 0.0142 -0.1922)
OKLCHoklch(43.51% 0.193 274.2)
XYZxyz(11.7928, 7.3264, 46.1308)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383AB8 #B8B638
analogous
#387AB8 #383AB8 #7638B8
triadic
#383AB8 #B8383A #3AB838
tetradic
#383AB8 #B8387A #B8B638 #38B876
square
#383AB8 #B8387A #B8B638 #38B876
split-complementary
#383AB8 #B87638 #7AB838
monochromatic
#1B1C5A #2A2B89 #383AB8 #5F61CE #8E8FDD

Accessibility & contrast

On white

8.52
#383AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #383AB8
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383AB8#FFFFFF#000000##FFFFFF
##383AB81.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0047B6
Tritanopia (blue-blind)
#005C74
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #383ab8;
/* rgb */ color: rgb(56, 58, 184);
/* oklch */ color: oklch(43.5% 0.193 274.2);
Tailwind
colors: {
  custom: {
    50: '#8071ce',
    500: '#383ab8',
    950: '#000000',
  },
}
SCSS
$custom: #383ab8;
$custom-light: #8071ce;
$custom-dark: #000000;
JSON
{
  "hex": "#383ab8",
  "rgb": {
    "r": 56,
    "g": 58,
    "b": 184
  },
  "hsl": {
    "h": 239.063,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.43513,
    "c": 0.19275,
    "h": 274.2
  },
  "luminance": 0.07328
}

Semantic roles & 50–950 ramp

primary
#383AB8
secondary
#C7C685
accent
#DA4BDD
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #383AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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