#383CB4#383CB4

#383CB4 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.5% C 0.185 H 274.1°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#383CB4
RGBrgb(56, 60, 180)
HSLhsl(238, 53%, 46%)
HSVhsv(238, 69%, 71%)
CMYKcmyk(68.9%, 66.7%, 0%, 29.4%)
CIE-LABlab(32.63, 37.57, -64.01)
CIE-LCHlch(32.63, 74.22, 300.41°)
OKLaboklab(43.47% 0.0133 -0.1849)
OKLCHoklch(43.47% 0.185 274.1)
XYZxyz(11.4822, 7.3667, 43.9880)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383CB4 #B4B038
analogous
#387AB4 #383CB4 #7238B4
triadic
#383CB4 #B4383C #3CB438
tetradic
#383CB4 #B4387A #B4B038 #38B472
square
#383CB4 #B4387A #B4B038 #38B472
split-complementary
#383CB4 #B47238 #7AB438
monochromatic
#1B1D57 #292C85 #383CB4 #5D60CD #8B8EDB

Accessibility & contrast

On white

8.49
#383CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#383CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383CB4
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383CB4#FFFFFF#000000##FFFFFF
##383CB41.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0047B2
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #383cb4;
/* rgb */ color: rgb(56, 60, 180);
/* oklch */ color: oklch(43.5% 0.185 274.1);
Tailwind
colors: {
  custom: {
    50: '#7f72cb',
    500: '#383cb4',
    950: '#000000',
  },
}
SCSS
$custom: #383cb4;
$custom-light: #7f72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#383cb4",
  "rgb": {
    "r": 56,
    "g": 60,
    "b": 180
  },
  "hsl": {
    "h": 238.065,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43466,
    "c": 0.18534,
    "h": 274.1
  },
  "luminance": 0.07368
}

Semantic roles & 50–950 ramp

primary
#383CB4
secondary
#C5C382
accent
#D74CDC
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #383CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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