#383BA1#383BA1

#383BA1 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.6% C 0.161 H 275.5°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#383BA1
RGBrgb(56, 59, 161)
HSLhsl(238, 48%, 43%)
HSVhsv(238, 65%, 63%)
CMYKcmyk(65.2%, 63.4%, 0%, 36.9%)
CIE-LABlab(30.74, 31.60, -55.72)
CIE-LCHlch(30.74, 64.06, 299.56°)
OKLaboklab(41.58% 0.0156 -0.1606)
OKLCHoklch(41.58% 0.161 275.5)
XYZxyz(9.6258, 6.5411, 34.4666)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383BA1 #A19E38
analogous
#386FA1 #383BA1 #6A38A1
triadic
#383BA1 #A1383B #3BA138
tetradic
#383BA1 #A1386F #A19E38 #38A16A
square
#383BA1 #A1386F #A19E38 #38A16A
split-complementary
#383BA1 #A16A38 #6FA138
monochromatic
#181A46 #282A74 #383BA1 #5356C3 #8083D3

Accessibility & contrast

On white

9.10
#383BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#383BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383BA1
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383BA1#FFFFFF#000000##FFFFFF
##383BA11.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#00449F
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #383ba1;
/* rgb */ color: rgb(56, 59, 161);
/* oklch */ color: oklch(41.6% 0.161 275.5);
Tailwind
colors: {
  custom: {
    50: '#7b71be',
    500: '#383ba1',
    950: '#000000',
  },
}
SCSS
$custom: #383ba1;
$custom-light: #7b71be;
$custom-dark: #000000;
JSON
{
  "hex": "#383ba1",
  "rgb": {
    "r": 56,
    "g": 59,
    "b": 161
  },
  "hsl": {
    "h": 238.286,
    "s": 48.387,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41577,
    "c": 0.16132,
    "h": 275.5
  },
  "luminance": 0.06542
}

Semantic roles & 50–950 ramp

primary
#383BA1
secondary
#BCBB78
accent
#D450D8
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #383BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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