#383AAB#383AAB

#383AAB is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.3% C 0.176 H 275.1°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#383AAB
RGBrgb(56, 58, 171)
HSLhsl(239, 51%, 45%)
HSVhsv(239, 67%, 67%)
CMYKcmyk(67.3%, 66.1%, 0%, 32.9%)
CIE-LABlab(31.36, 35.71, -60.72)
CIE-LCHlch(31.36, 70.44, 300.46°)
OKLaboklab(42.3% 0.0156 -0.1752)
OKLCHoklch(42.3% 0.176 275.1)
XYZxyz(10.4922, 6.8062, 39.2810)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383AAB #ABA938
analogous
#3873AB #383AAB #7038AB
triadic
#383AAB #AB383A #3AAB38
tetradic
#383AAB #AB3873 #ABA938 #38AB70
square
#383AAB #AB3873 #ABA938 #38AB70
split-complementary
#383AAB #AB7038 #73AB38
monochromatic
#1A1B4F #292A7D #383AAB #585AC8 #8687D7

Accessibility & contrast

On white

8.89
#383AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#383AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383AAB
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383AAB#FFFFFF#000000##FFFFFF
##383AAB1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0045A9
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #383aab;
/* rgb */ color: rgb(56, 58, 171);
/* oklch */ color: oklch(42.3% 0.176 275.1);
Tailwind
colors: {
  custom: {
    50: '#7d70c5',
    500: '#383aab',
    950: '#000000',
  },
}
SCSS
$custom: #383aab;
$custom-light: #7d70c5;
$custom-dark: #000000;
JSON
{
  "hex": "#383aab",
  "rgb": {
    "r": 56,
    "g": 58,
    "b": 171
  },
  "hsl": {
    "h": 238.957,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42299,
    "c": 0.17593,
    "h": 275.1
  },
  "luminance": 0.06807
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #383AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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