#383FB2#383FB2

#383FB2 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.8% C 0.179 H 273.6°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#383FB2
RGBrgb(56, 63, 178)
HSLhsl(237, 52%, 46%)
HSVhsv(237, 69%, 70%)
CMYKcmyk(68.5%, 64.6%, 0%, 30.2%)
CIE-LABlab(33.16, 35.00, -61.96)
CIE-LCHlch(33.16, 71.16, 299.47°)
OKLaboklab(43.8% 0.0113 -0.1788)
OKLCHoklch(43.8% 0.179 273.6)
XYZxyz(11.4416, 7.6091, 42.9766)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383FB2 #B2AB38
analogous
#387CB2 #383FB2 #6E38B2
triadic
#383FB2 #B2383F #3FB238
tetradic
#383FB2 #B2387C #B2AB38 #38B26E
square
#383FB2 #B2387C #B2AB38 #38B26E
split-complementary
#383FB2 #B26E38 #7CB238
monochromatic
#1B1E55 #292F83 #383FB2 #5C62CC #8A8FDA

Accessibility & contrast

On white

8.33
#383FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#383FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383FB2
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383FB2#FFFFFF#000000##FFFFFF
##383FB21.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0048B0
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #383fb2;
/* rgb */ color: rgb(56, 63, 178);
/* oklch */ color: oklch(43.8% 0.179 273.6);
Tailwind
colors: {
  custom: {
    50: '#7e74ca',
    500: '#383fb2',
    950: '#000000',
  },
}
SCSS
$custom: #383fb2;
$custom-light: #7e74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#383fb2",
  "rgb": {
    "r": 56,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 236.557,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43796,
    "c": 0.1792,
    "h": 273.6
  },
  "luminance": 0.0761
}

Semantic roles & 50–950 ramp

primary
#383FB2
secondary
#C5C181
accent
#D34CDC
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #383FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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