#383CA2#383CA2

#383CA2 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.8% C 0.161 H 275.2°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#383CA2
RGBrgb(56, 60, 162)
HSLhsl(238, 49%, 43%)
HSVhsv(238, 65%, 64%)
CMYKcmyk(65.4%, 63%, 0%, 36.5%)
CIE-LABlab(31.07, 31.31, -55.79)
CIE-LCHlch(31.07, 63.97, 299.30°)
OKLaboklab(41.84% 0.0147 -0.1607)
OKLCHoklch(41.84% 0.161 275.2)
XYZxyz(9.7662, 6.6803, 34.9502)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383CA2 #A29E38
analogous
#3871A2 #383CA2 #6938A2
triadic
#383CA2 #A2383C #3CA238
tetradic
#383CA2 #A23871 #A29E38 #38A269
square
#383CA2 #A23871 #A29E38 #38A269
split-complementary
#383CA2 #A26938 #71A238
monochromatic
#191A47 #282B75 #383CA2 #5358C4 #8184D3

Accessibility & contrast

On white

8.99
#383CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#383CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383CA2
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383CA2#FFFFFF#000000##FFFFFF
##383CA21.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0044A0
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #383ca2;
/* rgb */ color: rgb(56, 60, 162);
/* oklch */ color: oklch(41.8% 0.161 275.2);
Tailwind
colors: {
  custom: {
    50: '#7b72be',
    500: '#383ca2',
    950: '#000000',
  },
}
SCSS
$custom: #383ca2;
$custom-light: #7b72be;
$custom-dark: #000000;
JSON
{
  "hex": "#383ca2",
  "rgb": {
    "r": 56,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 237.736,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41844,
    "c": 0.16142,
    "h": 275.2
  },
  "luminance": 0.06681
}

Semantic roles & 50–950 ramp

primary
#383CA2
secondary
#BDBA79
accent
#D350D8
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #383CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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