#383BA4#383BA4

#383BA4 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.165 H 275.3°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#383BA4
RGBrgb(56, 59, 164)
HSLhsl(238, 49%, 43%)
HSVhsv(238, 66%, 64%)
CMYKcmyk(65.9%, 64%, 0%, 35.7%)
CIE-LABlab(30.99, 32.65, -57.12)
CIE-LCHlch(30.99, 65.79, 299.75°)
OKLaboklab(41.84% 0.0154 -0.1647)
OKLCHoklch(41.84% 0.165 275.3)
XYZxyz(9.8935, 6.6482, 35.8766)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383BA4 #A4A138
analogous
#3871A4 #383BA4 #6B38A4
triadic
#383BA4 #A4383B #3BA438
tetradic
#383BA4 #A43871 #A4A138 #38A46B
square
#383BA4 #A43871 #A4A138 #38A46B
split-complementary
#383BA4 #A46B38 #71A438
monochromatic
#191A49 #282B76 #383BA4 #5458C5 #8284D4

Accessibility & contrast

On white

9.01
#383BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#383BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383BA4
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383BA4#FFFFFF#000000##FFFFFF
##383BA41.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #383ba4;
/* rgb */ color: rgb(56, 59, 164);
/* oklch */ color: oklch(41.8% 0.165 275.3);
Tailwind
colors: {
  custom: {
    50: '#7c71c0',
    500: '#383ba4',
    950: '#000000',
  },
}
SCSS
$custom: #383ba4;
$custom-light: #7c71c0;
$custom-dark: #000000;
JSON
{
  "hex": "#383ba4",
  "rgb": {
    "r": 56,
    "g": 59,
    "b": 164
  },
  "hsl": {
    "h": 238.333,
    "s": 49.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41841,
    "c": 0.16538,
    "h": 275.3
  },
  "luminance": 0.06649
}

Semantic roles & 50–950 ramp

primary
#383BA4
secondary
#BEBC7A
accent
#D54FD9
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #383BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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