#383CAB#383CAB

#383CAB is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.6% C 0.174 H 274.7°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#383CAB
RGBrgb(56, 60, 171)
HSLhsl(238, 51%, 45%)
HSVhsv(238, 67%, 67%)
CMYKcmyk(67.3%, 64.9%, 0%, 32.9%)
CIE-LABlab(31.83, 34.45, -59.95)
CIE-LCHlch(31.83, 69.14, 299.89°)
OKLaboklab(42.64% 0.0141 -0.1729)
OKLCHoklch(42.64% 0.174 274.7)
XYZxyz(10.5950, 7.0118, 39.3152)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383CAB #ABA738
analogous
#3876AB #383CAB #6E38AB
triadic
#383CAB #AB383C #3CAB38
tetradic
#383CAB #AB3876 #ABA738 #38AB6E
square
#383CAB #AB3876 #ABA738 #38AB6E
split-complementary
#383CAB #AB6E38 #76AB38
monochromatic
#1A1C4F #292C7D #383CAB #585CC8 #8689D7

Accessibility & contrast

On white

8.74
#383CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #383CAB
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383CAB#FFFFFF#000000##FFFFFF
##383CAB1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#0046A9
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #383cab;
/* rgb */ color: rgb(56, 60, 171);
/* oklch */ color: oklch(42.6% 0.174 274.7);
Tailwind
colors: {
  custom: {
    50: '#7d72c5',
    500: '#383cab',
    950: '#000000',
  },
}
SCSS
$custom: #383cab;
$custom-light: #7d72c5;
$custom-dark: #000000;
JSON
{
  "hex": "#383cab",
  "rgb": {
    "r": 56,
    "g": 60,
    "b": 171
  },
  "hsl": {
    "h": 237.913,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42643,
    "c": 0.17352,
    "h": 274.7
  },
  "luminance": 0.07013
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #383CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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