#383FA5#383FA5

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

Color values

HEX#383FA5
RGBrgb(56, 63, 165)
HSLhsl(236, 49%, 43%)
HSVhsv(236, 66%, 65%)
CMYKcmyk(66.1%, 61.8%, 0%, 35.3%)
CIE-LABlab(32.06, 30.44, -55.98)
CIE-LCHlch(32.06, 63.72, 298.53°)
OKLaboklab(42.65% 0.012 -0.1613)
OKLCHoklch(42.65% 0.162 274.3)
XYZxyz(10.1977, 7.1115, 36.4253)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383FA5 #A59E38
analogous
#3875A5 #383FA5 #6738A5
triadic
#383FA5 #A5383F #3FA538
tetradic
#383FA5 #A53875 #A59E38 #38A567
square
#383FA5 #A53875 #A59E38 #38A567
split-complementary
#383FA5 #A56738 #75A538
monochromatic
#191C4A #282E77 #383FA5 #555CC5 #8388D5

Accessibility & contrast

On white

8.67
#383FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#383FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383FA5
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383FA5#FFFFFF#000000##FFFFFF
##383FA51.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#0047A3
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #383fa5;
/* rgb */ color: rgb(56, 63, 165);
/* oklch */ color: oklch(42.7% 0.162 274.3);
Tailwind
colors: {
  custom: {
    50: '#7c74c1',
    500: '#383fa5',
    950: '#000000',
  },
}
SCSS
$custom: #383fa5;
$custom-light: #7c74c1;
$custom-dark: #000000;
JSON
{
  "hex": "#383fa5",
  "rgb": {
    "r": 56,
    "g": 63,
    "b": 165
  },
  "hsl": {
    "h": 236.147,
    "s": 49.321,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42652,
    "c": 0.16174,
    "h": 274.3
  },
  "luminance": 0.07112
}

Semantic roles & 50–950 ramp

primary
#383FA5
secondary
#BEBA7A
accent
#D04FD9
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #383FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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