#383BA5#383BA5

#383BA5 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.9% C 0.167 H 275.3°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#383BA5
RGBrgb(56, 59, 165)
HSLhsl(238, 49%, 43%)
HSVhsv(238, 66%, 65%)
CMYKcmyk(66.1%, 64.2%, 0%, 35.3%)
CIE-LABlab(31.08, 33.00, -57.58)
CIE-LCHlch(31.08, 66.37, 299.82°)
OKLaboklab(41.93% 0.0153 -0.166)
OKLCHoklch(41.93% 0.167 275.3)
XYZxyz(9.9841, 6.6844, 36.3541)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383BA5 #A5A238
analogous
#3871A5 #383BA5 #6B38A5
triadic
#383BA5 #A5383B #3BA538
tetradic
#383BA5 #A53871 #A5A238 #38A56B
square
#383BA5 #A53871 #A5A238 #38A56B
split-complementary
#383BA5 #A56B38 #71A538
monochromatic
#191A4A #282B77 #383BA5 #5558C5 #8385D5

Accessibility & contrast

On white

8.99
#383BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#383BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383BA5
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383BA5#FFFFFF#000000##FFFFFF
##383BA51.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#0044A3
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #383ba5;
/* rgb */ color: rgb(56, 59, 165);
/* oklch */ color: oklch(41.9% 0.167 275.3);
Tailwind
colors: {
  custom: {
    50: '#7c71c1',
    500: '#383ba5',
    950: '#000000',
  },
}
SCSS
$custom: #383ba5;
$custom-light: #7c71c1;
$custom-dark: #000000;
JSON
{
  "hex": "#383ba5",
  "rgb": {
    "r": 56,
    "g": 59,
    "b": 165
  },
  "hsl": {
    "h": 238.349,
    "s": 49.321,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4193,
    "c": 0.16673,
    "h": 275.3
  },
  "luminance": 0.06685
}

Semantic roles & 50–950 ramp

primary
#383BA5
secondary
#BEBD7A
accent
#D54FD9
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #383BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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