#383FA2#383FA2

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

Color values

HEX#383FA2
RGBrgb(56, 63, 162)
HSLhsl(236, 49%, 43%)
HSVhsv(236, 65%, 64%)
CMYKcmyk(65.4%, 61.1%, 0%, 36.5%)
CIE-LABlab(31.81, 29.37, -54.57)
CIE-LCHlch(31.81, 61.97, 298.29°)
OKLaboklab(42.4% 0.0121 -0.1572)
OKLCHoklch(42.4% 0.158 274.4)
XYZxyz(9.9278, 7.0035, 35.0041)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383FA2 #A29B38
analogous
#3874A2 #383FA2 #6638A2
triadic
#383FA2 #A2383F #3FA238
tetradic
#383FA2 #A23874 #A29B38 #38A266
square
#383FA2 #A23874 #A29B38 #38A266
split-complementary
#383FA2 #A26638 #74A238
monochromatic
#191C47 #282D75 #383FA2 #535BC4 #8186D3

Accessibility & contrast

On white

8.75
#383FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #383FA2
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383FA2#FFFFFF#000000##FFFFFF
##383FA21.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#0046A0
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #383fa2;
/* rgb */ color: rgb(56, 63, 162);
/* oklch */ color: oklch(42.4% 0.158 274.4);
Tailwind
colors: {
  custom: {
    50: '#7b74be',
    500: '#383fa2',
    950: '#000000',
  },
}
SCSS
$custom: #383fa2;
$custom-light: #7b74be;
$custom-dark: #000000;
JSON
{
  "hex": "#383fa2",
  "rgb": {
    "r": 56,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 236.038,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42395,
    "c": 0.15761,
    "h": 274.4
  },
  "luminance": 0.07004
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #383FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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