#383CA9#383CA9

#383CA9 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.5% C 0.171 H 274.8°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#383CA9
RGBrgb(56, 60, 169)
HSLhsl(238, 50%, 44%)
HSVhsv(238, 67%, 66%)
CMYKcmyk(66.9%, 64.5%, 0%, 33.7%)
CIE-LABlab(31.66, 33.76, -59.03)
CIE-LCHlch(31.66, 68.00, 299.76°)
OKLaboklab(42.46% 0.0143 -0.1703)
OKLCHoklch(42.46% 0.171 274.8)
XYZxyz(10.4058, 6.9361, 38.3189)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383CA9 #A9A538
analogous
#3875A9 #383CA9 #6D38A9
triadic
#383CA9 #A9383C #3CA938
tetradic
#383CA9 #A93875 #A9A538 #38A96D
square
#383CA9 #A93875 #A9A538 #38A96D
split-complementary
#383CA9 #A96D38 #75A938
monochromatic
#1A1B4D #292C7B #383CA9 #575BC7 #8588D7

Accessibility & contrast

On white

8.80
#383CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#383CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383CA9
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383CA9#FFFFFF#000000##FFFFFF
##383CA91.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#0045A7
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #383ca9;
/* rgb */ color: rgb(56, 60, 169);
/* oklch */ color: oklch(42.5% 0.171 274.8);
Tailwind
colors: {
  custom: {
    50: '#7d72c3',
    500: '#383ca9',
    950: '#000000',
  },
}
SCSS
$custom: #383ca9;
$custom-light: #7d72c3;
$custom-dark: #000000;
JSON
{
  "hex": "#383ca9",
  "rgb": {
    "r": 56,
    "g": 60,
    "b": 169
  },
  "hsl": {
    "h": 237.876,
    "s": 50.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42464,
    "c": 0.17087,
    "h": 274.8
  },
  "luminance": 0.06937
}

Semantic roles & 50–950 ramp

primary
#383CA9
secondary
#C0BE7C
accent
#D54EDA
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #383CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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