#383FA1#383FA1

#383FA1 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.3% C 0.156 H 274.4°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#383FA1
RGBrgb(56, 63, 161)
HSLhsl(236, 48%, 43%)
HSVhsv(236, 65%, 63%)
CMYKcmyk(65.2%, 60.9%, 0%, 36.9%)
CIE-LABlab(31.73, 29.02, -54.10)
CIE-LCHlch(31.73, 61.39, 298.21°)
OKLaboklab(42.31% 0.0121 -0.1558)
OKLCHoklch(42.31% 0.156 274.4)
XYZxyz(9.8393, 6.9681, 34.5378)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383FA1 #A19A38
analogous
#3873A1 #383FA1 #6538A1
triadic
#383FA1 #A1383F #3FA138
tetradic
#383FA1 #A13873 #A19A38 #38A165
square
#383FA1 #A13873 #A19A38 #38A165
split-complementary
#383FA1 #A16538 #73A138
monochromatic
#181B46 #282D74 #383FA1 #535AC3 #8086D3

Accessibility & contrast

On white

8.77
#383FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#383FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383FA1
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383FA1#FFFFFF#000000##FFFFFF
##383FA11.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA4
Deuteranopia (green-blind)
#00469F
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #383fa1;
/* rgb */ color: rgb(56, 63, 161);
/* oklch */ color: oklch(42.3% 0.156 274.4);
Tailwind
colors: {
  custom: {
    50: '#7b74be',
    500: '#383fa1',
    950: '#000000',
  },
}
SCSS
$custom: #383fa1;
$custom-light: #7b74be;
$custom-dark: #000000;
JSON
{
  "hex": "#383fa1",
  "rgb": {
    "r": 56,
    "g": 63,
    "b": 161
  },
  "hsl": {
    "h": 236,
    "s": 48.387,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4231,
    "c": 0.15624,
    "h": 274.4
  },
  "luminance": 0.06969
}

Semantic roles & 50–950 ramp

primary
#383FA1
secondary
#BCB878
accent
#CF50D8
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #383FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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