#383FA6#383FA6

#383FA6 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.7% C 0.163 H 274.2°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#383FA6
RGBrgb(56, 63, 166)
HSLhsl(236, 50%, 44%)
HSVhsv(236, 66%, 65%)
CMYKcmyk(66.3%, 62%, 0%, 34.9%)
CIE-LABlab(32.14, 30.79, -56.45)
CIE-LCHlch(32.14, 64.30, 298.61°)
OKLaboklab(42.74% 0.012 -0.1627)
OKLCHoklch(42.74% 0.163 274.2)
XYZxyz(10.2890, 7.1480, 36.9065)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383FA6 #A69F38
analogous
#3876A6 #383FA6 #6838A6
triadic
#383FA6 #A6383F #3FA638
tetradic
#383FA6 #A63876 #A69F38 #38A668
square
#383FA6 #A63876 #A69F38 #38A668
split-complementary
#383FA6 #A66838 #76A638
monochromatic
#191C4A #292E78 #383FA6 #555DC6 #8388D5

Accessibility & contrast

On white

8.64
#383FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#383FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383FA6
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383FA6#FFFFFF#000000##FFFFFF
##383FA61.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A9
Deuteranopia (green-blind)
#0047A4
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #383fa6;
/* rgb */ color: rgb(56, 63, 166);
/* oklch */ color: oklch(42.7% 0.163 274.2);
Tailwind
colors: {
  custom: {
    50: '#7c74c1',
    500: '#383fa6',
    950: '#000000',
  },
}
SCSS
$custom: #383fa6;
$custom-light: #7c74c1;
$custom-dark: #000000;
JSON
{
  "hex": "#383fa6",
  "rgb": {
    "r": 56,
    "g": 63,
    "b": 166
  },
  "hsl": {
    "h": 236.182,
    "s": 49.55,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42738,
    "c": 0.1631,
    "h": 274.2
  },
  "luminance": 0.07149
}

Semantic roles & 50–950 ramp

primary
#383FA6
secondary
#BFBB7B
accent
#D04FD9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #383FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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