#383CB2#383CB2

#383CB2 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.3% C 0.183 H 274.2°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#383CB2
RGBrgb(56, 60, 178)
HSLhsl(238, 52%, 46%)
HSVhsv(238, 69%, 70%)
CMYKcmyk(68.5%, 66.3%, 0%, 30.2%)
CIE-LABlab(32.45, 36.88, -63.11)
CIE-LCHlch(32.45, 73.10, 300.30°)
OKLaboklab(43.28% 0.0135 -0.1822)
OKLCHoklch(43.28% 0.183 274.2)
XYZxyz(11.2800, 7.2858, 42.9227)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383CB2 #B2AE38
analogous
#3879B2 #383CB2 #7138B2
triadic
#383CB2 #B2383C #3CB238
tetradic
#383CB2 #B23879 #B2AE38 #38B271
square
#383CB2 #B23879 #B2AE38 #38B271
split-complementary
#383CB2 #B27138 #79B238
monochromatic
#1B1D55 #292C83 #383CB2 #5C5FCC #8A8DDA

Accessibility & contrast

On white

8.55
#383CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#383CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383CB2
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383CB2#FFFFFF#000000##FFFFFF
##383CB21.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0047B0
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #383cb2;
/* rgb */ color: rgb(56, 60, 178);
/* oklch */ color: oklch(43.3% 0.183 274.2);
Tailwind
colors: {
  custom: {
    50: '#7f72ca',
    500: '#383cb2',
    950: '#000000',
  },
}
SCSS
$custom: #383cb2;
$custom-light: #7f72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#383cb2",
  "rgb": {
    "r": 56,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 238.033,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43281,
    "c": 0.18274,
    "h": 274.2
  },
  "luminance": 0.07287
}

Semantic roles & 50–950 ramp

primary
#383CB2
secondary
#C5C281
accent
#D74CDC
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #383CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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