#383BAB#383BAB

#383BAB is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.5% C 0.175 H 274.9°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#383BAB
RGBrgb(56, 59, 171)
HSLhsl(238, 51%, 45%)
HSVhsv(238, 67%, 67%)
CMYKcmyk(67.3%, 65.5%, 0%, 32.9%)
CIE-LABlab(31.60, 35.08, -60.33)
CIE-LCHlch(31.60, 69.79, 300.18°)
OKLaboklab(42.47% 0.0149 -0.1741)
OKLCHoklch(42.47% 0.175 274.9)
XYZxyz(10.5431, 6.9080, 39.2979)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383BAB #ABA838
analogous
#3875AB #383BAB #6F38AB
triadic
#383BAB #AB383B #3BAB38
tetradic
#383BAB #AB3875 #ABA838 #38AB6F
square
#383BAB #AB3875 #ABA838 #38AB6F
split-complementary
#383BAB #AB6F38 #75AB38
monochromatic
#1A1B4F #292B7D #383BAB #585BC8 #8688D7

Accessibility & contrast

On white

8.82
#383BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#383BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383BAB
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383BAB#FFFFFF#000000##FFFFFF
##383BAB1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#0045A9
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #383bab;
/* rgb */ color: rgb(56, 59, 171);
/* oklch */ color: oklch(42.5% 0.175 274.9);
Tailwind
colors: {
  custom: {
    50: '#7d71c5',
    500: '#383bab',
    950: '#000000',
  },
}
SCSS
$custom: #383bab;
$custom-light: #7d71c5;
$custom-dark: #000000;
JSON
{
  "hex": "#383bab",
  "rgb": {
    "r": 56,
    "g": 59,
    "b": 171
  },
  "hsl": {
    "h": 238.435,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4247,
    "c": 0.17473,
    "h": 274.9
  },
  "luminance": 0.06909
}

Semantic roles & 50–950 ramp

primary
#383BAB
secondary
#C1C07D
accent
#D64EDA
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #383BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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