#383CA8#383CA8

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

Color values

HEX#383CA8
RGBrgb(56, 60, 168)
HSLhsl(238, 50%, 44%)
HSVhsv(238, 67%, 66%)
CMYKcmyk(66.7%, 64.3%, 0%, 34.1%)
CIE-LABlab(31.58, 33.41, -58.57)
CIE-LCHlch(31.58, 67.43, 299.70°)
OKLaboklab(42.37% 0.0143 -0.1689)
OKLCHoklch(42.37% 0.17 274.8)
XYZxyz(10.3123, 6.8987, 37.8263)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383CA8 #A8A438
analogous
#3874A8 #383CA8 #6C38A8
triadic
#383CA8 #A8383C #3CA838
tetradic
#383CA8 #A83874 #A8A438 #38A86C
square
#383CA8 #A83874 #A8A438 #38A86C
split-complementary
#383CA8 #A86C38 #74A838
monochromatic
#191B4C #292C7A #383CA8 #565AC7 #8487D6

Accessibility & contrast

On white

8.82
#383CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#383CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383CA8
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383CA8#FFFFFF#000000##FFFFFF
##383CA81.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#0045A6
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #383ca8;
/* rgb */ color: rgb(56, 60, 168);
/* oklch */ color: oklch(42.4% 0.170 274.8);
Tailwind
colors: {
  custom: {
    50: '#7d72c3',
    500: '#383ca8',
    950: '#000000',
  },
}
SCSS
$custom: #383ca8;
$custom-light: #7d72c3;
$custom-dark: #000000;
JSON
{
  "hex": "#383ca8",
  "rgb": {
    "r": 56,
    "g": 60,
    "b": 168
  },
  "hsl": {
    "h": 237.857,
    "s": 50,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42374,
    "c": 0.16953,
    "h": 274.8
  },
  "luminance": 0.069
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #383CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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