#383EB6#383EB6

#383EB6 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.0% C 0.186 H 273.6°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#383EB6
RGBrgb(56, 62, 182)
HSLhsl(237, 53%, 47%)
HSVhsv(237, 69%, 71%)
CMYKcmyk(69.2%, 65.9%, 0%, 28.6%)
CIE-LABlab(33.27, 37.02, -64.14)
CIE-LCHlch(33.27, 74.06, 299.99°)
OKLaboklab(43.99% 0.0117 -0.1852)
OKLCHoklch(43.99% 0.186 273.6)
XYZxyz(11.7942, 7.6623, 45.1043)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383EB6 #B6B038
analogous
#387DB6 #383EB6 #7138B6
triadic
#383EB6 #B6383E #3EB638
tetradic
#383EB6 #B6387D #B6B038 #38B671
square
#383EB6 #B6387D #B6B038 #38B671
split-complementary
#383EB6 #B67138 #7DB638
monochromatic
#1B1E58 #2A2E87 #383EB6 #5E63CD #8D90DC

Accessibility & contrast

On white

8.29
#383EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#383EB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383EB6
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383EB6#FFFFFF#000000##FFFFFF
##383EB61.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0048B4
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #383eb6;
/* rgb */ color: rgb(56, 62, 182);
/* oklch */ color: oklch(44.0% 0.186 273.6);
Tailwind
colors: {
  custom: {
    50: '#7f73cd',
    500: '#383eb6',
    950: '#000000',
  },
}
SCSS
$custom: #383eb6;
$custom-light: #7f73cd;
$custom-dark: #000000;
JSON
{
  "hex": "#383eb6",
  "rgb": {
    "r": 56,
    "g": 62,
    "b": 182
  },
  "hsl": {
    "h": 237.143,
    "s": 52.941,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43987,
    "c": 0.18561,
    "h": 273.6
  },
  "luminance": 0.07663
}

Semantic roles & 50–950 ramp

primary
#383EB6
secondary
#C6C384
accent
#D54BDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #383EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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