#383BAD#383BAD

#383BAD is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.7% C 0.177 H 274.8°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#383BAD
RGBrgb(56, 59, 173)
HSLhsl(238, 51%, 45%)
HSVhsv(238, 68%, 68%)
CMYKcmyk(67.6%, 65.9%, 0%, 32.2%)
CIE-LABlab(31.77, 35.78, -61.24)
CIE-LCHlch(31.77, 70.93, 300.29°)
OKLaboklab(42.65% 0.0147 -0.1768)
OKLCHoklch(42.65% 0.177 274.8)
XYZxyz(10.7352, 6.9848, 40.3095)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383BAD #ADAA38
analogous
#3875AD #383BAD #7038AD
triadic
#383BAD #AD383B #3BAD38
tetradic
#383BAD #AD3875 #ADAA38 #38AD70
square
#383BAD #AD3875 #ADAA38 #38AD70
split-complementary
#383BAD #AD7038 #75AD38
monochromatic
#1A1B51 #292B7F #383BAD #595CC9 #8789D8

Accessibility & contrast

On white

8.76
#383BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#383BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383BAD
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383BAD#FFFFFF#000000##FFFFFF
##383BAD1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B1
Deuteranopia (green-blind)
#0045AB
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #383bad;
/* rgb */ color: rgb(56, 59, 173);
/* oklch */ color: oklch(42.7% 0.177 274.8);
Tailwind
colors: {
  custom: {
    50: '#7e71c6',
    500: '#383bad',
    950: '#000000',
  },
}
SCSS
$custom: #383bad;
$custom-light: #7e71c6;
$custom-dark: #000000;
JSON
{
  "hex": "#383bad",
  "rgb": {
    "r": 56,
    "g": 59,
    "b": 173
  },
  "hsl": {
    "h": 238.462,
    "s": 51.092,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42652,
    "c": 0.17737,
    "h": 274.8
  },
  "luminance": 0.06986
}

Semantic roles & 50–950 ramp

primary
#383BAD
secondary
#C2C07F
accent
#D74DDB
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #383BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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