#383FA3#383FA3

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

Color values

HEX#383FA3
RGBrgb(56, 63, 163)
HSLhsl(236, 49%, 43%)
HSVhsv(236, 66%, 64%)
CMYKcmyk(65.6%, 61.3%, 0%, 36.1%)
CIE-LABlab(31.90, 29.73, -55.04)
CIE-LCHlch(31.90, 62.56, 298.37°)
OKLaboklab(42.48% 0.0121 -0.1585)
OKLCHoklch(42.48% 0.159 274.4)
XYZxyz(10.0171, 7.0392, 35.4741)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383FA3 #A39C38
analogous
#3874A3 #383FA3 #6738A3
triadic
#383FA3 #A3383F #3FA338
tetradic
#383FA3 #A33874 #A39C38 #38A367
square
#383FA3 #A33874 #A39C38 #38A367
split-complementary
#383FA3 #A36738 #74A338
monochromatic
#191C48 #282D75 #383FA3 #545BC4 #8287D4

Accessibility & contrast

On white

8.72
#383FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#383FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383FA3
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383FA3#FFFFFF#000000##FFFFFF
##383FA31.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#0046A1
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #383fa3;
/* rgb */ color: rgb(56, 63, 163);
/* oklch */ color: oklch(42.5% 0.159 274.4);
Tailwind
colors: {
  custom: {
    50: '#7b74bf',
    500: '#383fa3',
    950: '#000000',
  },
}
SCSS
$custom: #383fa3;
$custom-light: #7b74bf;
$custom-dark: #000000;
JSON
{
  "hex": "#383fa3",
  "rgb": {
    "r": 56,
    "g": 63,
    "b": 163
  },
  "hsl": {
    "h": 236.075,
    "s": 48.858,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4248,
    "c": 0.15899,
    "h": 274.4
  },
  "luminance": 0.0704
}

Semantic roles & 50–950 ramp

primary
#383FA3
secondary
#BDB979
accent
#CF4FD8
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #383FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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